hasTemplate() added
This commit is contained in:
parent
3c6eb60037
commit
18857d77e4
@ -1358,6 +1358,11 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable
|
|||||||
return $this->_templates[$template];
|
return $this->_templates[$template];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function hasTemplate($template)
|
||||||
|
{
|
||||||
|
return isset($this->_templates[$template]);
|
||||||
|
}
|
||||||
|
|
||||||
public function addTemplate($template, Doctrine_Template $impl)
|
public function addTemplate($template, Doctrine_Template $impl)
|
||||||
{
|
{
|
||||||
$this->_templates[$template] = $impl;
|
$this->_templates[$template] = $impl;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user