1
0
mirror of synced 2025-01-19 23:11:41 +03:00

129 Commits

Author SHA1 Message Date
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
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
David Buchmann
b4e9dafd10 add missing hint about lifecycle callback 2013-07-22 10:23:47 +02:00
Eugene Morgan
0a151f2474 Remove extra semicolon before ->setParameter() calls 2013-07-15 15:01:33 -05: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
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
Robert Broen
184e8eb26c Update getting-started.rst
The tutorial assumes Doctrine 2.4
2013-06-17 10:31:06 +02:00
Matthieu Napoli
424793c263 Fixed rendering
Fixed some broken rendering on http://docs.doctrine-project.org/en/latest/reference/yaml-mapping.html
2013-06-06 11:36:02 +03:00
Antonio J. García Lagar
c64c149ebf Fix getting started doc to work with current version 2013-05-28 08:57:17 +02:00
John Bafford
0e29fe871a Fix an instance of doubled words 2013-05-27 11:20:26 -04:00
Gusakov Nikita
384dfa87ab add docs 2013-05-18 04:00:28 +04:00
Jakub Zalas
97622b57bd Fixed a code block.
Sphinx does not like the way code was indented. Building the documentation raises the following error:
en/cookbook/resolve-target-entity-listener.rst:121: ERROR: Unexpected indentation.
2013-05-09 15:19:58 +01:00
HarmenM
f8efd85ae6 Update annotations-reference.rst
Added missing @JoinColumns in the index
2013-05-09 14:49:38 +03:00
Benjamin Eberlei
59fff4ddef Fix Docs build 2013-05-03 13:32:42 +02:00
Danny Kopping
408eef1356 Fixed entities path
In the tutorial, the user is told to create a new file in the '/src' folder, and the 'entities' folder is never referenced. Updating the SQLite schema according to the tutorial fails with the 'No Metadata Classes to process.' message. Changing the folder to '/src' fixes this, ostensibly.
2013-04-26 12:05:50 +03:00
Calum Brodie
a0a133b02c Removed unneeded escape character
Removed backslash
2013-04-21 20:55:54 +02:00
Calum Brodie
c2967b35ff Update coding standards
Removing underscores from property/method names and change use statements to PSR-2
2013-04-21 20:43:48 +02:00
Benjamin Eberlei
142c20aad1 Work on the Tutorial 2013-04-09 00:00:16 +02:00
Benjamin Eberlei
d1f8e18d02 Enhance documentation on NEW() keyword. (ref DDC-1574) 2013-04-07 14:05:42 +02:00
Benjamin Eberlei
34374db56e Enhance documentation on IDENTITY() for composite keys (ref DDC-2202) 2013-04-07 14:02:47 +02:00
Benjamin Eberlei
b2e29eaf97 Rework NativeSQL doc chapter and document SELECT clause generation (ref DDC-2055). 2013-04-07 14:01:27 +02:00
Benjamin Eberlei
3fef8d7285 Merge pull request #621 from dbu/event-subscribers
[doc] adding some more doc and examples for lifecycle event listeners and subscribers
2013-04-06 08:04:24 -07:00
Anthony
1278b79c79 Added yml example in ordered-associations.rst
And modified it to be in a configuration-block instead of separate code-block
2013-04-03 13:31:07 -03:00
Valentin Ferriere
2e8272e18f Update association-mapping.rst 2013-03-29 16:39:55 +01:00
Guilherme Blanco
484d03a5bc Merge pull request #636 from dustinmoorman/rst-file-documentation-fixes
Fixed typos in documentation.
2013-03-27 21:26:24 -07:00
Dustin Moorman
51bcda51c5 Fixed typos in documentation. 2013-03-27 22:43:58 -05:00
Aaron Muylaert
3e8dd1e45c Update query-builder.rst
Fix typo in one of the orderBy examples.
2013-03-26 16:47:41 +01:00
Benjamin Eberlei
5ea9cf418a Merge pull request #627 from chuanma/master
update document on Doctrine cache provider
2013-03-24 13:22:20 -07:00
Guilherme Blanco
1f89d8ce2f Merge pull request #629 from dustinmoorman/typo-fixes-in-basic-mapping-rst
Fixed typos in Doctrine Mapping Types section.
2013-03-24 09:28:16 -07:00
Dustin Moorman
d4061ff41b Fixed typos in Doctrine Mapping Types section. 2013-03-24 03:16:00 -05:00
Fran Moreno
10c48bad7b [Docs] Fix field name in inversedby parameter 2013-03-24 02:07:05 +01:00
Chuan Ma
94ceb0e410 Document: delete the doc for a number of cache provider methods that don't exist 2013-03-22 17:53:47 -04: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
acae1aeaaa Fix link in docs 2013-03-17 19:43:09 +01:00
Benjamin Eberlei
c399dcfe58 Add simpler section for 2.4 CLI integration 2013-03-17 19:18:49 +01:00
Benjamin Eberlei
ea19a0063f Huge refactoring of the Getting Started Tutorial to allow for an earlier success with the simple Product entity. 2013-03-17 13:43:16 +01:00
Benjamin Eberlei
4ef8e8c7aa Move all classes to src/ in tutorial rather than in entities/ 2013-03-17 12:45:49 +01:00
Benjamin Eberlei
bd964411e8 Remove models/database first tutorials for now 2013-03-17 12:39:04 +01:00
Benjamin Eberlei
5941d0267d Worked on the Getting Started Guide 2013-03-17 12:26:34 +01:00
Benjamin Eberlei
a7d764f6c0 Moved tools to Advanced topic, included simple setting up tools in Installation. Reworked CLI tool to print a template when no cli-config.php is defined. 2013-03-17 12:16:42 +01:00
Benjamin Eberlei
bdfe6098a4 Reworked parts of the tutorial 2013-03-16 23:36:36 +01:00
Benjamin Eberlei
e0d706219b Start reorganizing documentation with focus on simplicity. 2013-03-16 20:36:09 +01:00
Benjamin Eberlei
610e1a96f0 Merge pull request #595 from mnapoli/patch-1
Fixed broken code block in documentation
2013-03-12 11:31:52 -07:00
Benjamin Eberlei
0c4f48766a Merge pull request #602 from alex88/patch-1
Added $isIdentifierColumn documentation
2013-03-12 11:30:36 -07:00
Benjamin Eberlei
ce0dd1c4f4 Merge pull request #610 from afoeder/patch-1
[BUGFIX] Correct link to Functions, Operators, Aggregates
2013-03-12 11:13:11 -07:00
Benjamin Eberlei
b6c3fc5b1a Mention flush cannot be called inside postFlush 2013-03-12 18:50:45 +01:00
Adrian Föder
ca268c9da6 [BUGFIX] Correct link to Functions, Operators, Aggregates
This fixes the in-page link to the Functions, Operators, Aggregates
section.
2013-03-12 15:56:54 +01:00
Harold Barker
363df46006 Fixed typo. 2013-03-11 22:11:50 +00:00