
Public Member Functions | |
| _construct () | |
| assign ($key, $value=null) | |
| setScriptPath ($dir) | |
| fetchView ($fileName) | |
Protected Attributes | |
| $_view = null | |
Definition at line 35 of file Zend.php.
| _construct | ( | ) |
Class constructor. Base html block
| none |
Reimplemented from Mage_Core_Block_Abstract.
Definition at line 46 of file Zend.php.
00047 { 00048 parent::_construct(); 00049 $this->_view = new Zend_View(); 00050 }
| assign | ( | $ | key, | |
| $ | value = null | |||
| ) |
Assign variable
| string|array | $key | |
| mixed | $value |
Reimplemented from Mage_Core_Block_Template.
Definition at line 52 of file Zend.php.
00053 { 00054 if (is_array($key) && is_null($value)) { 00055 foreach ($key as $k=>$v) { 00056 $this->assign($k, $v); 00057 } 00058 } elseif (!is_null($value)) { 00059 $this->_view->assign($key, $value); 00060 } 00061 return $this; 00062 }
| fetchView | ( | $ | fileName | ) |
Retrieve block view from file (template)
| string | $fileName |
Reimplemented from Mage_Core_Block_Template.
Definition at line 69 of file Zend.php.
| setScriptPath | ( | $ | dir | ) |
Set template location dire
| string | $dir |
Reimplemented from Mage_Core_Block_Template.
Definition at line 64 of file Zend.php.
1.5.8