1
0
mirror of synced 2024-12-14 07:06:04 +03:00

added addTable and getTables methods

This commit is contained in:
runa 2006-10-31 18:30:17 +00:00
parent a94c714af1
commit 0fb5f14717

View File

@ -41,7 +41,7 @@ class Doctrine_Schema_Database extends Doctrine_Schema_Object {
'version' => null, 'version' => null,
'engine' => null); 'engine' => null);
private $childs = array();
/** /**
* *
@ -73,6 +73,15 @@ class Doctrine_Schema_Database extends Doctrine_Schema_Object {
* @access public * @access public
*/ */
public function addTable( $table = null ) { public function addTable( $table = null ) {
$this->childs[] = $table;
}
/**
*
* @return array of Doctrine_Schema_Table
*
*/
public function getTables() {
return $this->childs;
} }
} }