From ea5e58fece0bd1e9fb76b646d890a31d2185a214 Mon Sep 17 00:00:00 2001 From: zYne Date: Thu, 18 Oct 2007 19:05:00 +0000 Subject: [PATCH] removed deprecated schema and object classes --- lib/Doctrine/Object.php | 60 ------------------------------- lib/Doctrine/Schema.php | 78 ----------------------------------------- 2 files changed, 138 deletions(-) delete mode 100644 lib/Doctrine/Object.php delete mode 100644 lib/Doctrine/Schema.php diff --git a/lib/Doctrine/Object.php b/lib/Doctrine/Object.php deleted file mode 100644 index 77ce87049..000000000 --- a/lib/Doctrine/Object.php +++ /dev/null @@ -1,60 +0,0 @@ -. - */ - -/** - * Doctrine_Object - * - * @package Doctrine - * @subpackage Object - * @license http://www.opensource.org/licenses/lgpl-license.php LGPL - * @link www.phpdoctrine.com - * @since 1.0 - * @version $Revision$ - * @author Konsta Vesterinen - */ -class Doctrine_Object -{ - /** - * @var Doctrine_Null $null Doctrine_Null object, used for extremely fast null value checking - */ - protected static $_null; - /** - * initNullObject - * initializes the null object - * - * @param Doctrine_Null $null - * @return void - */ - public static function initNullObject(Doctrine_Null $null) - { - self::$_null = $null; - } - /** - * getNullObject - * returns the null object associated with this object - * - * @return Doctrine_Null - */ - public static function getNullObject() - { - return self::$_null; - } -} \ No newline at end of file diff --git a/lib/Doctrine/Schema.php b/lib/Doctrine/Schema.php deleted file mode 100644 index daee1c2e1..000000000 --- a/lib/Doctrine/Schema.php +++ /dev/null @@ -1,78 +0,0 @@ -. - */ -/** - * class Doctrine_Schema - * Holds information on one to many databases - * - * @package Doctrine - * @subpackage Schema - * @link www.phpdoctrine.com - * @license http://www.opensource.org/licenses/lgpl-license.php LGPL - * @since 1.0 - * @version $Revision$ - * @author Konsta Vesterinen - */ -class Doctrine_Schema extends Doctrine_Schema_Object implements Countable, IteratorAggregate -{ - /** - * Holds any number of databases contained in the schema - * @access private - */ - private $childs; - - /** - * - * @param Doctrine_Schema_Database database * @return - * @access public - */ - public function addDatabase( Doctrine_Schema_Database $database ) - { - $this->childs[] = $database; - } - - /** - * Return the childs for this schema - * - * @return array of Doctrine_Schema_Database - * - */ - public function getDatabases() { - return $this->childs; - } - /** - * - * @return - * @access public - */ - public function __toString( ) - { - - } - /** - * - * @return bool - * @access public - */ - public function isValid( ) - { - - } -}