Commit 18857d77 authored by zYne's avatar zYne

hasTemplate() added

parent 3c6eb600
......@@ -1358,6 +1358,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)
{
$this->_templates[$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