1
0
mirror of synced 2024-12-15 15:46:02 +03:00
Commit Graph

14 Commits

Author SHA1 Message Date
Douglas Greenshields
85f227372d fixed English grammar 2013-09-08 21:40:35 +01:00
Marco Pivetta
e2a67c2f1c Merge pull request #742 from caponica/patch-2
Cleaned up events.rst
2013-08-25 07:10:26 -07:00
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
David Buchmann
b4e9dafd10 add missing hint about lifecycle callback 2013-07-22 10:23:47 +02:00
David Buchmann
204c1afe9a cleanup event subscriber note 2013-03-21 10:43:01 +01:00
David Buchmann
220f367658 adding some more doc and examples for lifecycle event listeners and subscribers 2013-03-20 00:46:11 +01:00
Benjamin Eberlei
b6c3fc5b1a Mention flush cannot be called inside postFlush 2013-03-12 18:50:45 +01:00
Benjamin Eberlei
6b85d5b5ac Clarified versionadded on EntityListeners feature. 2013-02-27 12:19:08 +01:00
Evan Kaufman
e2ac064914 Noted prePersist event only triggers on first persist
While probably obvious to a core doctrine developer, a user of doctrine would not necessarily know this without doing some digging
2013-02-07 12:59:14 -06:00
Fabio B. Silva
c5aecd43c8 Fix yaml example 2013-02-02 16:19:35 -02:00
Fabio B. Silva
7764ed9a8b Docs for Entity Listener and Entity Listener Resolver 2013-02-02 15:48:40 -02:00
Fabio B. Silva
76c4be1b74 Update docs/en/reference/events.rst
Docs for lifecycle-callback event arg
2013-01-29 12:19:47 -02:00
Benjamin Eberlei
cbcc693e36 Add 'docs/' from commit '8fcf2d45019bf38a1df728353a1e417343c69cfb'
git-subtree-dir: docs
git-subtree-mainline: 271bd37ad3
git-subtree-split: 8fcf2d4501
2013-01-24 00:02:03 +01:00