Skip to content

Commit

Permalink
[2.0] Updated description for pear packages. Enhanced ClassLoader to …
Browse files Browse the repository at this point in the history
…support the old namespace separator (underscore) for Zend/PEAR/... compatibility until some day when they all use 5.3+.
  • Loading branch information
romanb committed Sep 1, 2009
1 parent 0d0a772 commit fd204ee
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 11 deletions.
9 changes: 2 additions & 7 deletions build.properties.dev
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/Doctrine/Common/ClassLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class ClassLoader
/**
* @var string Namespace separator
*/
private $_namespaceSeparator = '\\';
private $_namespaceSeparator = array('\\', '_');

/**
* @var string File extension used for classes
Expand Down
4 changes: 2 additions & 2 deletions lib/Doctrine/ORM/Tools/Cli/Tasks/SchemaToolTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
* 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.
Expand Down
4 changes: 3 additions & 1 deletion tools/sandbox/index.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
<?php

require 'config.php';
require 'config.php';

// Place your code here. $em is at your service.

0 comments on commit fd204ee

Please sign in to comment.