Guilherme Blanco
ea44ee1d55
Merge pull request #745 from jbruni/patch-2
...
Update basic-mapping.rst
2013-08-05 20:57:26 -07:00
Guilherme Blanco
36e7e3ccde
Updated documentation.
2013-08-03 17:40:48 -04:00
J Bruni
13c1efb240
Update basic-mapping.rst
...
The attribute name is "name", not "column", isn't it?
2013-08-03 11:26:37 -03: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
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
Pascal Borreli
a2cd0f5804
Fixed typos
2013-03-11 00:08:58 +00:00
Alessandro Tagliapietra
9ce4f9806e
Added $isIdentifierColumn documentation
...
I've added the documentation of the argument $isIdentifierColumn since in case of foreign composite keys it doesn't
2013-03-06 10:48:47 +01:00
Benjamin Eberlei
399584db4c
Merge pull request #599 from alexcarol/fix/docs
...
Removed unnecessary "<?php" from the docs
2013-03-04 14:39:01 -08:00
Alex Carol
e809f9c266
Removed unnecessary <?php from the docs
2013-03-03 23:14:58 +01:00
Matthieu Napoli
2eff096ddd
Typo
2013-03-02 18:42:38 +01:00
Matthieu Napoli
159daa9985
Reverted incorrect typo fix -_-
2013-03-02 18:40:58 +01:00
Matthieu Napoli
32dd7f1a0e
Missing link to a cookbook in the docs
...
The cookbook existed in the docs but there was no link to it in the docs.
2013-03-01 15:16:59 +01:00
Matthieu Napoli
20b46fe17f
Fixed broken code block in documentation
2013-03-01 15:11:21 +01:00
Benjamin Eberlei
e5779a0756
Fix versionadded for IDENTITY()
2013-02-27 12:47:02 +01:00
Benjamin Eberlei
61e4413541
Update theme
2013-02-27 12:40:39 +01:00
Benjamin Eberlei
4f46a08d65
Dont mention 2.2 version in headers anymore.
2013-02-27 12:37:26 +01:00
Benjamin Eberlei
f001c31342
Add versionadded tags to many ffeatures in the docs.
2013-02-27 12:34:10 +01:00
Benjamin Eberlei
6b85d5b5ac
Clarified versionadded on EntityListeners feature.
2013-02-27 12:19:08 +01:00
Benjamin Eberlei
805bb5ff9f
Remove mentions of PEAR installation method, remove code.
2013-02-15 01:04:29 +01:00
Benjamin Eberlei
35fda90473
Merge pull request #570 from Ocramius/cleanup/submodules-removal
...
Deprecation of PEAR/GIT/TAR autoloading
2013-02-14 00:55:08 -08:00
Benjamin Eberlei
d08c010ae1
Merge pull request #576 from acasademont/patch-1
...
Update docs/en/reference/batch-processing.rst
2013-02-11 07:50:57 -08:00
Albert Casademont
4c90d0cedc
Update docs/en/reference/batch-processing.rst
...
If you have only $batchSize - 1 rows (amongst other cases), the entities are never flushed, you need a final flush outside the loop.
In the bulk insert you should also need a final flush if the number of entities inserted is not a multiple of the $batchSize.
2013-02-08 16:32:03 +01:00
Christian Stoller
07616094d2
Added YAML configuration example for "Simple Derived Identity" in "Composite and Foreign Keys as Primary Key" Tutorial
2013-02-08 11:21:21 +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
Marco Pivetta
673323fc67
Adding warnings about deprecation of GIT, TAR and PEAR autoloading
2013-02-04 23:30:02 +01:00
Benjamin Eberlei
71a68a5c6f
Merge pull request #423 from FabioBatSilva/DDC-1955
...
DDC-1955 - @EntityListeners
2013-02-02 11:47:46 -08: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
Evgeny Shpilevsky
d65ba04c5c
Fix typo in docs
2013-01-30 17:59:38 +03: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
Peter Kruithof
46f4b00f8d
Added missing mapping types
2013-01-26 16:18:45 +01: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