@@ -125,7 +125,7 @@ These credentials are used on the PHPCR layer for the
125
125
``PHPCR\SimpleCredentials ``. They are optional for jackalope doctrine-dbal.
126
126
127
127
Do not confuse these credentials with the username and password used by
128
- Midgard2 or Doctrine DBAL to connect to the underlying RDBMS where the data
128
+ Doctrine DBAL to connect to the underlying RDBMS where the data
129
129
is actually stored.
130
130
131
131
backend type
@@ -137,8 +137,7 @@ This designates the PHPCR implementation. Valid options are
137
137
138
138
* ``jackrabbit ``;
139
139
* ``doctrinedbal ``;
140
- * ``prismic ``;
141
- * ``midgard2 ``.
140
+ * ``prismic ``.
142
141
143
142
backend parameters
144
143
""""""""""""""""""
@@ -371,87 +370,6 @@ actively used, every save operation is wrapped into a transaction.
371
370
Only allowed for doctrine-dbal because jackrabbit does not support
372
371
transactions.
373
372
374
- PHPCR Session with Midgard2
375
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~
376
-
377
- Midgard2 is an application that provides a compiled PHP extension. It
378
- implements the PHPCR API on top of a standard RDBMS.
379
-
380
- To use the Midgard2 PHPCR provider, you must have both the
381
- `midgard2 PHP extension `_ and `the midgard/phpcr package `_ installed. The
382
- settings here correspond to Midgard2 repository parameters as explained in
383
- `the getting started document `_.
384
-
385
- The session backend configuration looks as follows:
386
-
387
- .. configuration-block ::
388
-
389
- .. code-block :: yaml
390
-
391
- # app/config/config.yml
392
- doctrine_phpcr :
393
- session :
394
- backend :
395
- type : midgard2
396
- config : /path/to/midgard-config.ini
397
- db_type : MySQL
398
- db_name : midgard2_test
399
- db_host : " 0.0.0.0"
400
- db_port : 3306
401
- db_username : " "
402
- db_password : " "
403
- db_init : true
404
- blobdir : /tmp/cmf-blobs
405
- loglevel : debug
406
-
407
- .. code-block :: xml
408
-
409
- <!-- app/config/config.xml -->
410
- <?xml version =" 1.0" encoding =" UTF-8" ?>
411
- <container xmlns =" http://symfony.com/schema/dic/services" >
412
-
413
- <config xmlns =" http://doctrine-project.org/schema/symfony-dic/odm/phpcr" >
414
-
415
- <session >
416
-
417
- <backend type =" midgard2"
418
- config =" /path/to/midgard-config.ini"
419
- db-type =" MySQL"
420
- db-name =" midgard2_test"
421
- db-host =" 0.0.0.0"
422
- db-port =" 3306"
423
- db-username =" "
424
- db-password =" "
425
- db-init =" true"
426
- blobdir =" /tmp/cmf-blobs"
427
- loglevel =" debug"
428
- />
429
- </session >
430
- </config >
431
- </container >
432
-
433
- .. code-block :: php
434
-
435
- // app/config/config.php
436
- $container->loadFromExtension('doctrine_phpcr', array(
437
- 'session' => array(
438
- 'backend' => array(
439
- 'type' => 'midgard2',
440
- 'config' => '/path/to/midgard-config.ini',
441
- 'db_name' => 'midgard2_test',
442
- 'db_host' => '0.0.0.0',
443
- 'db_port' => 3306,
444
- 'db_username' => '',
445
- 'db_password' => '',
446
- 'db_init' => true,
447
- 'blobdir' => '/tmp/cmf-blobs",
448
- 'loglevel' => 'debug',
449
- ),
450
- ),
451
- ));
452
-
453
- For more information, please refer to the `official Midgard PHPCR documentation `_.
454
-
455
373
.. _reference-configuration-phpcr-odm-logging :
456
374
457
375
Logging and Profiling
@@ -714,8 +632,4 @@ For tuning the output of the ``doctrine:phpcr:dump`` command.
714
632
715
633
.. _`Symfony2 Doctrine documentation` : http://symfony.com/doc/current/book/doctrine.html
716
634
.. _`last modified listener cookbook entry` : http://docs.doctrine-project.org/projects/doctrine-phpcr-odm/en/latest/cookbook/last-modified.html
717
- .. _`midgard2 PHP extension` : http://midgard-project.org/midgard2/#download
718
- .. _`the midgard/phpcr package` : http://packagist.org/packages/midgard/phpcr
719
- .. _`the getting started document` : http://midgard-project.org/phpcr/#getting_started
720
- .. _`official Midgard PHPCR documentation` : http://midgard-project.org/phpcr/
721
635
.. _`Doctrine ORM` : http://symfony.com/doc/current/reference/configuration/doctrine.html#caching-drivers
0 commit comments