[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+.
This commit is contained in:
parent
0d0a772ea6
commit
fd204ee7f6
@ -1,11 +1,6 @@
|
||||
name=Doctrine
|
||||
summary=PHP5 Database ORM
|
||||
description=Doctrine is an ORM (object relational mapper) for PHP 5.2.x+ that sits on top of
|
||||
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.
|
||||
summary=PHP5 ORM
|
||||
description=Doctrine 2 is an ORM (object relational mapper) for transparent PHP object persistence.
|
||||
version_name=2.0.0-ALPHA1
|
||||
version=2.0.0
|
||||
stability=alpha
|
||||
|
@ -49,7 +49,7 @@ class ClassLoader
|
||||
/**
|
||||
* @var string Namespace separator
|
||||
*/
|
||||
private $_namespaceSeparator = '\\';
|
||||
private $_namespaceSeparator = array('\\', '_');
|
||||
|
||||
/**
|
||||
* @var string File extension used for classes
|
||||
|
@ -19,8 +19,8 @@ use Doctrine\ORM\Tools\SchemaTool,
|
||||
* otherwise it has no effect.
|
||||
*
|
||||
* <tt>--dump-sql</tt>
|
||||
* Specifies that instead of directly executing the SQL statements for creating the
|
||||
* database schema, they should be printed to the standard output.
|
||||
* Specifies that instead of directly executing the SQL statements,
|
||||
* they should be printed to the standard output.
|
||||
*
|
||||
* <tt>--create</tt>
|
||||
* Specifies that the schema of the classes should be created.
|
||||
|
@ -1,3 +1,5 @@
|
||||
<?php
|
||||
|
||||
require 'config.php';
|
||||
require 'config.php';
|
||||
|
||||
// Place your code here. $em is at your service.
|
Loading…
Reference in New Issue
Block a user