Commit 18857d77 authored by zYne's avatar zYne

hasTemplate() added

parent 3c6eb600
......@@ -1357,6 +1357,11 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable
return $this->_templates[$template];
}
public function hasTemplate($template)
{
return isset($this->_templates[$template]);
}
public function addTemplate($template, Doctrine_Template $impl)
{
......
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