1
0
mirror of synced 2025-01-09 18:47:10 +03:00
Commit Graph

95 Commits

Author SHA1 Message Date
Fabio B. Silva
3140593e9b Second level cache 2013-12-16 11:05:04 -05:00
Marco Pivetta
5fa1b10506 Merge pull request #832 from mnapoli/patch-4
Added "readOnly: true" to YAML reference
2013-12-14 05:41:27 -08:00
Matthieu Napoli
38c59ce5a4 Added documentation section for Memcached 2013-12-02 14:59:04 +01:00
Martin Prebio
2828d7b5cd Mentioning the 'refresh' cascading property in the documentation list 2013-12-01 22:43:06 +01:00
Christophe Coevoet
dfbf996a50 Added a note about changing the fetch mode for to-many relations 2013-11-26 14:20:51 +01:00
Steve Müller
45118a2811 mention SQL Anywhere in basic mapping docs 2013-11-25 18:24:54 +01:00
Christian Stoller
393b3d37f5 Documentation about how to use INSANCE OF in inheritance 2013-11-19 09:18:33 +01:00
Guilherme Blanco
c7d4077219 Merge pull request #834 from carlosbuenosvinos/patch-1
Add example use of repositoryClass in YAML
2013-11-04 07:46:42 -08:00
Michael Cummings
01dc0e8273 Update annotations-reference.rst
@JoinTable because of mapping defaults does NOT have required attributes. Updated annotations reference to show them as optional.
2013-11-03 09:20:15 -08:00
Carlos Buenosvinos
6eac308ca3 Add example use of repositoryClass in YAML 2013-11-01 12:11:01 +01:00
Matthieu Napoli
f3f9fe9daa Added "readOnly: true" to YAML reference
The readOnly configuration is documented nowhere except in the annotations reference.

I added it to the example, for a lack of a better place. But at least it will be documented somewhere.

Can you also confirm that this is correct? I'm starting to use it, and I can't find a way to have doctrine validate it is really working. Even with the metadata validation tool, it won't raise an error if I put an invalid entry (`readOnlyFOOBAR: true`) or an invalid value (`readOnly: FOOBAR`), so I'm kind of blind here.
2013-10-31 10:50:44 +01:00
Benjamin Eberlei
514dd4e852 [DDC-2757] Update documentation with regard to manually closing the EntityManager when an Exception occurs. 2013-10-26 12:32:53 +02:00
flack
195b1169ae Spelling fix 2013-10-23 11:32:04 +02:00
sabzeta
a419c7c93b Update query-builder.rst
expresion substr changed to substring as of
http://www.doctrine-project.org/jira/browse/DDC-382
2013-09-20 15:27:05 +03:00
Ryan Weaver
1fcef3321e Changes thanks to @Ocramius 2013-09-12 20:52:12 -05:00
Ryan Weaver
36d7d60c3b Minor updates while reading the basic-mapping page
The only arguable changes involve a few spots where I either removed something I thought was too technical and not valuable (e.g. talking about the metadata mapping pattern).
2013-09-12 17:08:48 -05:00
Marco Pivetta
bb7f18ced7 Merge pull request #784 from eventhorizonpl/fix_docs
fix documentation warnings p1
2013-09-10 15:54:40 -07:00
Michal Piotrowski
bc37ceb58b fix warnings p1
fix warnings p2

fix warnings p3

fix warnings p4
2013-09-10 23:57:41 +02:00
Benjamin Eberlei
9983fcbac3 Fix some more details in basic-mapping.rst 2013-09-10 23:15:43 +02:00
Benjamin Eberlei
a948cb49b8 Small fixes in basic-mapping.rst 2013-09-10 22:36:03 +02:00
Benjamin Eberlei
546c817f64 Move Custom Mapping Types into cookbook, restructure the chapter more. 2013-09-10 22:09:22 +02:00
Benjamin Eberlei
caf6ba65e8 Refactor Basic Mapping chapter to focus on the actual topic more. Rearrange apperance of topics. Introduce a sane example entity as example. 2013-09-10 22:09:22 +02:00
Benjamin Eberlei
f7108b40c3 Move Annotations introduction to the reference. 2013-09-10 22:09:22 +02:00
Matthieu Napoli
26e1ac6afd #DDC-2664 Improving and fixing documentation for new Proxy factory flags usage as of DCOM-210 2013-09-09 11:20:12 +02:00
Matthieu Napoli
4a0a4094da #DDC-2664 Document new Proxy factory flags usage as of DCOM-210
[Document new Proxy factory flags usage as of DCOM-210](http://www.doctrine-project.org/jira/browse/DDC-2664)
2013-09-09 10:49:37 +02:00
Douglas Greenshields
85f227372d fixed English grammar 2013-09-08 21:40:35 +01:00
Benjamin Eberlei
c6760e0375 Merge pull request #762 from naitsirch/yaml_reference_ext
YAML mapping documentation of uniqueConstraint
2013-09-08 06:22:42 -07:00
Benjamin Eberlei
f2fa47dedb Fix RST bug 2013-09-08 13:04:08 +02:00
Benjamin Eberlei
275724fb46 Add missing documentation for 2.4 features 2013-09-08 12:13:47 +02:00
Guilherme Blanco
da7146c4d5 Merge pull request #779 from Blazinn/patch-4
Fixed grammar in custom data types
2013-09-05 07:31:19 -07:00
Nick Hazen
e808865e6f Fixed grammar in custom data types
Changed 'are apply' to 'are applied'
2013-09-05 10:09:53 -04:00
Nick Hazen
1d247fbeaa Fixed typo in property mapping
Changed 'pecify' to 'specify' line # 246
2013-09-05 09:48:00 -04:00
Nick Hazen
982840ac3c Fixed typo in mapping documentation
"Classthat" to "Class that" line #69
2013-09-05 09:32:36 -04:00
Benjamin Eberlei
340ae15ba7 Merge branch 'Docs' 2013-09-01 19:04:22 +02:00
Benjamin Eberlei
c603fe7ab9 Simplify Working with Associations a little 2013-08-31 16:38:00 +02:00
Benjamin Eberlei
aa369b4212 Cleanup Association Mapping chapter 2013-08-31 16:25:53 +02:00
Benjamin Eberlei
cf2580d284 Cleanup of Configuration and Mapping reference chapters. 2013-08-31 15:46:10 +02: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 Stoller
a765f2e3b6 added yaml mapping documentation of uniqueConstraint 2013-08-20 11:17:04 +02:00
Guilherme Blanco
43fc8bafa7 DDC-1858 Added missing support to ResultVariable in LikeExpression. 2013-08-18 23:52:32 -04:00
Peter Mitchell
c933ac1a4a Update override field mapping tut
* Added reference to override section of inheritance-mapping.rst
* Added link to yaml/xml examples in override-field-association-mappings-in-subclasses.rst
2013-08-13 16:08:42 -04:00
Matthieu Napoli
036547e956 Update working-with-associations.rst
Fixed syntax highlighting
2013-08-13 14:39:17 +02:00
Benjamin Eberlei
acb7dfb320 Merge pull request #729 from dbu/not-lifecycle-callback-hint
add missing hint about lifecycle callback
2013-08-10 13:00:00 -07:00
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