Commit bf6ed870 authored by Jonathan.Wage's avatar Jonathan.Wage

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

parent 8dfd9e5a
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment