1
0
mirror of synced 2024-12-13 14:56:01 +03:00

added getDatabases and addDatabase methods

This commit is contained in:
runa 2006-10-31 18:29:48 +00:00
parent 52aa5845b6
commit a94c714af1

View File

@ -46,10 +46,19 @@ class Doctrine_Schema extends Doctrine_Schema_Object implements Countable, Itera
* @param Doctrine_Schema_Database database * @return
* @access public
*/
public function addDatabase( $database ) {
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