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
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.
......
<?php
require 'config.php';
\ No newline at end of file
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