Commit fd204ee7 authored by romanb's avatar romanb

[2.0] Updated description for pear packages. Enhanced ClassLoader to support...

[2.0] Updated description for pear packages. Enhanced ClassLoader to support the old namespace separator (underscore) for Zend/PEAR/... compatibility until some day when they all use 5.3+.
parent 0d0a772e
name=Doctrine name=Doctrine
summary=PHP5 Database ORM summary=PHP5 ORM
description=Doctrine is an ORM (object relational mapper) for PHP 5.2.x+ that sits on top of description=Doctrine 2 is an ORM (object relational mapper) for transparent PHP object persistence.
a powerful DBAL (database abstraction layer). One of its key features is the
ability to optionally write database queries in an OO (object oriented)
SQL-dialect called DQL inspired by Hibernates HQL. This provides developers with
a powerful alternative to SQL that maintains a maximum of flexibility without
requiring needless code duplication.
version_name=2.0.0-ALPHA1 version_name=2.0.0-ALPHA1
version=2.0.0 version=2.0.0
stability=alpha stability=alpha
......
...@@ -49,7 +49,7 @@ class ClassLoader ...@@ -49,7 +49,7 @@ class ClassLoader
/** /**
* @var string Namespace separator * @var string Namespace separator
*/ */
private $_namespaceSeparator = '\\'; private $_namespaceSeparator = array('\\', '_');
/** /**
* @var string File extension used for classes * @var string File extension used for classes
......
...@@ -19,8 +19,8 @@ use Doctrine\ORM\Tools\SchemaTool, ...@@ -19,8 +19,8 @@ use Doctrine\ORM\Tools\SchemaTool,
* otherwise it has no effect. * otherwise it has no effect.
* *
* <tt>--dump-sql</tt> * <tt>--dump-sql</tt>
* Specifies that instead of directly executing the SQL statements for creating the * Specifies that instead of directly executing the SQL statements,
* database schema, they should be printed to the standard output. * they should be printed to the standard output.
* *
* <tt>--create</tt> * <tt>--create</tt>
* Specifies that the schema of the classes should be created. * Specifies that the schema of the classes should be created.
......
<?php <?php
require 'config.php'; require 'config.php';
// Place your code here. $em is at your service.
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment