From 521ad6d9a8b65234cc4da1088645adad1b89a4d2 Mon Sep 17 00:00:00 2001 From: zYne Date: Wed, 20 Sep 2006 21:46:26 +0000 Subject: [PATCH] added license to Doctrine_Null, removed Doctrine_Module (depracated component) --- Doctrine/Module.php | 60 --------------------------------------------- Doctrine/Null.php | 23 +++++++++++++++++ 2 files changed, 23 insertions(+), 60 deletions(-) delete mode 100644 Doctrine/Module.php diff --git a/Doctrine/Module.php b/Doctrine/Module.php deleted file mode 100644 index 90417d197..000000000 --- a/Doctrine/Module.php +++ /dev/null @@ -1,60 +0,0 @@ -name = $name; - } - /** - * returns the name of this module - * - * @return string - */ - public function getName() { - return $this->name; - } - /** - * flush - * saves all components - * - * @return void - */ - public function flush() { - $connection = Doctrine_Manager::getInstance()->getCurrentConnection(); - - $tree = $connection->buildFlushTree($this->components); - } - /** - * getIterator - * this class implements IteratorAggregate interface - * returns an iterator that iterates through the components - * in this module - * - * @return ArrayIterator - */ - public function getIterator() { - return new ArrayIterator($this->components); - } - /** - * count - * this class implements Countable interface - * returns the number of components in this module - * - * @return integer - */ - public function count() { - return count($this->components); - } -} - diff --git a/Doctrine/Null.php b/Doctrine/Null.php index b730f139e..7ff0711c4 100644 --- a/Doctrine/Null.php +++ b/Doctrine/Null.php @@ -1,9 +1,32 @@ . + */ /** * Doctrine_Null * * Simple empty class representing a null value * used for extra fast null value testing with isset() rather than array_key_exists() + * + * @package Doctrine ORM + * @url www.phpdoctrine.com + * @license LGPL */ class Doctrine_Null { }