Christian Morgan
c715d91dc7
Updates based on feedback from Ocramius
...
Addresses all comments made so far, except the one about persists/updates
2013-08-01 17:56:45 +01:00
Christian Morgan
d5bc48623a
Cleaned up events.rst
...
Was a mix-up between TestEventSubscriber and EventTest (e.g. the definition of TestEventSubscriber referenced TestEvent::preFoo, which did not exist). To clarify this I've renamed EventTest to TestEvent.
Tried to clarify the text in the Naming Convention section.
Added note that onClear is not a lifecycle callback.
Tried to clarify the definition of Lifecycle Callbacks.
Separated key/value descriptions into XML and YAML parts since the details are different
Added note in Implementing Event Listeners section that since 2.4 you do have access to EntityManager and UnitOfWork from lifecycle callbacks.
Added example about how to use the computed changeset to modify a primitive value in preUpdate section
Added naming convention example to Entity listeners class section
The other changes are typos and small fixes.
2013-07-30 14:00:17 +01:00
Marco Pivetta
d7881a1ec2
Merge pull request #733 from Lumbendil/master
...
Update Parser.php
2013-07-24 04:13:12 -07:00
Roger Llopart Pla
9b574ad53b
Update Parser.php
...
Fix the docummentation for Parser::Literal()
2013-07-24 13:07:06 +02:00
Guilherme Blanco
6f39a426a7
Merge pull request #732 from trsteel88/patch-1
...
Update working-with-associations.rst
2013-07-22 20:22:37 -07:00
trsteel88
23cc3ea4bc
Update working-with-associations.rst
...
Always use the constant for sorting. If you use 'asc' it will not work.
2013-07-23 12:30:33 +10:00
Marco Pivetta
4bc8f7be16
Merge pull request #728 from armetiz/patch-1
...
Color message like the update tools
2013-07-22 08:19:50 -07:00
Thomas Tourlourat
4882ff1ef5
Add info tag around ATTENTION
2013-07-22 17:11:53 +02:00
Marco Pivetta
8d2826c633
Merge pull request #730 from NicolasN/patch-1
...
To avoid "SpacingAfterParams" error with PHPCS Symfony2 coding standard
2013-07-22 02:17:53 -07:00
Nicolas Nutten
eba933bb47
To avoid "SpacingAfterParams" error with PHPCS Symfony2 coding standard
...
Hello,
I added two blank lines in comments two avoid the following error with PHPCS Symfony2 coding standard :
Error Code: SpacingAfterParams
Error Description: Last parameter comment requires a blank new line after it.
2013-07-22 10:56:18 +02:00
Thomas Tourlourat
0c3581a1f8
Color message like the update tools
2013-07-19 11:33:35 +02:00
Guilherme Blanco
fbbb161987
Merge pull request #719 from tristanlins/fix/entity-generator-extensibility
...
Access properties via static:: instead of self::.
2013-07-17 17:18:01 -07:00
Guilherme Blanco
2a5652c807
Merge pull request #723 from morganprecision/patch-1
...
Remove extra semicolon before ->setParameter() calls
2013-07-15 16:38:05 -07:00
Eugene Morgan
0a151f2474
Remove extra semicolon before ->setParameter() calls
2013-07-15 15:01:33 -05:00
Marco Pivetta
0aed9595c3
Merge pull request #721 from alex88/patch-1
...
Updated batch-processing link extension
2013-07-11 04:56:13 -07:00
Alessandro Tagliapietra
d249a22f74
Updated batch-processing link extension
...
I've changed the batch processing link adding .html else the link is broken
2013-07-11 11:52:26 +02:00
Guilherme Blanco
78fc129614
Merge pull request #632 from Padam87/entgentrait
...
entity generator - ignore trait properties and methods
2013-07-07 12:37:55 -07:00
Tristan Lins
641774630b
Access properties via static:: instead of self::.
...
The properties of EntityGenerator are now protected instead of private.
But this does not make sense until they are accessed with static::.
Otherwise the templates cannot be overwritten within a sub class.
2013-07-05 13:40:57 +02:00
Marco Pivetta
dc2be816a8
Merge pull request #713 from dave1010/grammar-fix
...
Quick grammar fix
2013-07-02 10:20:28 -07:00
Dave Hulbert
5e700db6d3
Fix grammar in CreateCommand
2013-07-02 16:29:36 +01:00
Dave Hulbert
c57f2c39f6
Fix grammar in DropCommand
2013-07-02 16:28:58 +01:00
Benjamin Eberlei
29d6da0fa0
Merge pull request #703 from shulcsm/patch-1
...
Clear visitedCollections
2013-06-30 01:38:02 -07:00
Benjamin Eberlei
69fe5c48f4
Merge pull request #710 from sandermarechal/extra-lazy-get-fix
...
Fix extra lazy get
2013-06-30 01:37:26 -07:00
Benjamin Eberlei
8e1111c8d3
Merge pull request #711 from FabioBatSilva/coveralls
...
Coveralls code coverage
2013-06-27 23:52:15 -07:00
Fabio B. Silva
e4bccdc7b3
coveralls code coverage
2013-06-27 20:18:21 -04:00
Sander Marechal
06ed21e883
Remove extra-lazy-get for ManyToMany relation
2013-06-27 14:19:39 +02:00
Sander Marechal
5635fa60a4
Check owning entitiy on extra lazy get with OneToMany relation
2013-06-27 14:17:41 +02:00
Benjamin Eberlei
4d93a4950b
Merge branch 'DDC-2530'
2013-06-25 19:34:22 +02:00
Benjamin Eberlei
a91050e7f4
[DDC-2350] Eager Collections are not marked as initialized, leading to multiple queries being executed.
2013-06-25 19:34:12 +02:00
Guilherme Blanco
20e5d98b7b
Merge pull request #640 from denkiryokuhatsuden/patch-1
...
[Paginator]Add hidden field ordering for postgresql
2013-06-24 19:23:36 -07:00
Benjamin Eberlei
2f6e914d64
Dont allow failures in 5.5 anymore
2013-06-24 08:42:17 +02:00
Guilherme Blanco
457036aacb
Merge pull request #702 from FabioBatSilva/DDC-2459
...
[DDC-2459]ANSI compliant quote strategy
2013-06-23 14:26:49 -07:00
Guilherme Blanco
2ce72f38a2
Merge pull request #705 from FabioBatSilva/DDC-2519
...
[DDC-2519] Partial association identifier
2013-06-23 14:25:58 -07:00
Fabio B. Silva
1cff8b4d98
Fix DDC-2519
2013-06-21 16:07:09 -04:00
Fabio B. Silva
a165f63c8c
ANSI compliant quote strategy
2013-06-21 16:05:59 -04:00
Benjamin Eberlei
eaf8fd3c34
Merge pull request #706 from sandermarechal/extra-lazy-get
...
[DDC-1398] Extra-lazy get for indexed associations
2013-06-20 05:26:52 -07:00
Sander Marechal
70427871ce
Extra test for indexBy identifier versus indexBy other fields
2013-06-20 14:20:00 +02:00
Sander Marechal
2879162015
No need to lookup metadata
2013-06-20 14:00:58 +02:00
Sander Marechal
3b92cfac5a
Use find() if the indexBy field is the identifier
2013-06-20 13:45:38 +02:00
Sander Marechal
53c9ffda30
Get rid of variable
2013-06-20 10:20:16 +02:00
Sander Marechal
647c5e2cad
Test actual data returned by get()
2013-06-20 10:18:08 +02:00
Sander Marechal
3555007f08
Return NULL for non-existent keys
...
The load() function already returns just one entity or NULL, so
the current() is not needed and the result can be returned directly.
2013-06-20 10:09:52 +02:00
Sander Marechal
523697d0b6
[DDC-1398] Extra-lazy get for indexed associations
...
If an association is EXTRA_LAZY and has an indexBy, then
you can call get() without loading the entire collection.
2013-06-20 09:29:56 +02:00
Benjamin Eberlei
1382d766b0
Merge pull request #704 from liuggio/patch-1
...
added badges stable release and total downloads
2013-06-19 09:02:33 -07:00
Giulio De Donato
c743bb938b
added badges
2013-06-19 16:40:57 +02:00
shulcsm
3340234785
Clear visitedCollections
...
Visited collections are cleared only in commit(). Commit clears up only if it actually has something to do. Processing large amounts of records without changing them cause visitedCollections to grow without any way of clearing.
2013-06-19 16:34:44 +03:00
Marco Pivetta
a39ceb3159
Merge pull request #701 from rbroen/patch-2
...
list_bugs.php needs to call to getters for protected vars
2013-06-17 02:41:29 -07:00
Robert Broen
6ff5043ce8
list_bugs.php needs to call to getters for protected vars
...
list_bugs.php needs to call to getters for protected vars. This was changed in the "getting-started" code repository, but not in the "getting-started" tutorial.
2013-06-17 11:36:09 +02:00
Marco Pivetta
1a958f70fd
Merge pull request #700 from rbroen/patch-2
...
Update getting-started.rst
2013-06-17 01:39:43 -07:00
Robert Broen
184e8eb26c
Update getting-started.rst
...
The tutorial assumes Doctrine 2.4
2013-06-17 10:31:06 +02:00