1
0
mirror of synced 2025-01-18 06:21:40 +03:00

Added back getTemplates() function. Somehow was removed on accident

This commit is contained in:
Jonathan.Wage 2007-08-27 15:04:32 +00:00
parent 8dfd9e5a6b
commit bf6ed870fa

View File

@ -294,6 +294,16 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable
} }
$this->repository = new Doctrine_Table_Repository($this); $this->repository = new Doctrine_Table_Repository($this);
} }
/**
* getTemplates
* returns all templates attached to this table
*
* @return array an array containing all templates
*/
public function getTemplates()
{
return $this->_templates;
}
/** /**
* export * export
* exports this table to database based on column and option definitions * exports this table to database based on column and option definitions