From bf6ed870fa8eee478828c3dee02fdc537ba7a07a Mon Sep 17 00:00:00 2001 From: "Jonathan.Wage" Date: Mon, 27 Aug 2007 15:04:32 +0000 Subject: [PATCH] Added back getTemplates() function. Somehow was removed on accident --- lib/Doctrine/Table.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/Doctrine/Table.php b/lib/Doctrine/Table.php index 8dc336bbd..079859732 100644 --- a/lib/Doctrine/Table.php +++ b/lib/Doctrine/Table.php @@ -294,6 +294,16 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable } $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 * exports this table to database based on column and option definitions