Changeset 423 for trunk/patTemplate/Stat.php
- Timestamp:
- 02/26/06 13:28:19 (3 years ago)
- Files:
-
- trunk/patTemplate/Stat.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/patTemplate/Stat.php
r208 r423 64 64 $this->_options = $options; 65 65 } 66 67 /** 68 * get the template root for this class 69 * 70 * @access public 71 * @return string 72 */ 73 function getTemplateRoot() 74 { 75 if (!isset($this->_options['root'])) { 76 return null; 77 } 78 if (isset($this->_options['root'][$this->_name])) { 79 return $this->_options['root'][$this->_name]; 80 } 81 if (isset($this->_options['root']['__default'])) { 82 return $this->_options['root']['__default']; 83 } 84 return null; 85 } 66 86 } 67 87 ?>
