@@ -22,7 +22,7 @@ can be.
22
22
easy, and explained in the ":doc: `/cookbook/doctrine/dbal `" cookbook entry.
23
23
24
24
You can also persist data to `MongoDB `_ using Doctrine ODM library. For
25
- more information, read the ":doc: ` /bundles/ DoctrineMongoDBBundle/index ` "
25
+ more information, read the "` DoctrineMongoDBBundle `_ "
26
26
documentation.
27
27
28
28
A Simple Example: A Product
@@ -471,10 +471,10 @@ in your application. To do this, run:
471
471
new column to the existing ``product `` table.
472
472
473
473
An even better way to take advantage of this functionality is via
474
- :doc: `migrations < /bundles/DoctrineMigrationsBundle/index >` , which allow you to
475
- generate these SQL statements and store them in migration classes that
476
- can be run systematically on your production server in order to track
477
- and migrate your database schema safely and reliably.
474
+ `migrations `_ , which allow you to generate these SQL statements and store
475
+ them in migration classes that can be run systematically on your production
476
+ server in order to track and migrate your database schema safely and
477
+ reliably.
478
478
479
479
Your database now has a fully-functional ``product `` table with columns that
480
480
match the metadata you've specified.
@@ -559,7 +559,7 @@ an ``UPDATE`` query if the record already exists in the database.
559
559
560
560
Doctrine provides a library that allows you to programmatically load testing
561
561
data into your project (i.e. "fixture data"). For information, see
562
- :doc: ` /bundles/ DoctrineFixturesBundle/index ` .
562
+ the "` DoctrineFixturesBundle `_" documentation .
563
563
564
564
Fetching Objects from the Database
565
565
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -586,8 +586,7 @@ on its ``id`` value::
586
586
.. tip ::
587
587
588
588
You can achieve the equivalent of this without writing any code by using
589
- the ``@ParamConverter `` shortcut. See the
590
- :doc: `FrameworkExtraBundle documentation </bundles/SensioFrameworkExtraBundle/annotations/converters >`
589
+ the ``@ParamConverter `` shortcut. See the `FrameworkExtraBundle documentation `_
591
590
for more details.
592
591
593
592
When you query for a particular type of object, you always use what's known
@@ -1083,7 +1082,7 @@ table, and ``product.category_id`` column, and new foreign key:
1083
1082
1084
1083
This task should only be really used during development. For a more robust
1085
1084
method of systematically updating your production database, read about
1086
- :doc: ` Doctrine migrations < /bundles/DoctrineMigrationsBundle/index >` .
1085
+ ` migrations `_ .
1087
1086
1088
1087
Saving Related Entities
1089
1088
~~~~~~~~~~~~~~~~~~~~~~~
@@ -1400,8 +1399,8 @@ For more information about Doctrine, see the *Doctrine* section of the
1400
1399
1401
1400
* :doc: `/cookbook/doctrine/common_extensions `
1402
1401
* :doc: `/cookbook/doctrine/console `
1403
- * :doc: `/bundles/ DoctrineFixturesBundle/index `
1404
- * :doc: `/bundles/ DoctrineMongoDBBundle/index `
1402
+ * :doc: `DoctrineFixturesBundle `
1403
+ * :doc: `DoctrineMongoDBBundle `
1405
1404
1406
1405
.. _`Doctrine` : http://www.doctrine-project.org/
1407
1406
.. _`MongoDB` : http://www.mongodb.org/
@@ -1414,3 +1413,7 @@ For more information about Doctrine, see the *Doctrine* section of the
1414
1413
.. _`Lifecycle Events documentation` : http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/events.html#lifecycle-events
1415
1414
.. _`Reserved SQL keywords documentation` : http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/basic-mapping.html#quoting-reserved-words
1416
1415
.. _`Persistent classes` : http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/basic-mapping.html#persistent-classes
1416
+ .. _`DoctrineMongoDBBundle` : http://symfony.com/doc/current/bundles/DoctrineMongoDBBundle/index.html
1417
+ .. _`migrations` : http://symfony.com/doc/current/bundles/DoctrineMigrationsBundle/index.html
1418
+ .. _`DoctrineFixturesBundle` : http://symfony.com/doc/current/bundles/DoctrineFixturesBundle/index.html
1419
+ .. _`FrameworkExtraBundle documentation` : http://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/converters.html
0 commit comments