SF Feature #3294932 - Hiding not used templates

This commit is contained in:
Deon George
2011-05-03 20:49:16 +10:00
parent 3919825000
commit a2828b2cf0
3 changed files with 17 additions and 1 deletions

View File

@@ -913,6 +913,14 @@ class Template extends xmlTemplate {
return $this->visible;
}
public function setVisible() {
$this->visible = true;
}
public function setInvisible() {
$this->visible = false;
}
public function getRegExp() {
if (DEBUG_ENABLED && (($fargs=func_get_args())||$fargs='NOARGS'))
debug_log('Entered (%%)',5,1,__FILE__,__LINE__,__METHOD__,$fargs,$this->regexp);