. */ /** * @package Doctrine * @url http://www.phpdoctrine.com * @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @author Jukka Hassinen * @version $Id$ /** * class Doctrine_Schema * Holds information on one to many databases * @package Doctrine * @category Object Relational Mapping * @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( ) { } }