
Public Member Functions | |
| __construct () | |
| setElement ($element) | |
| setForm ($form) | |
| setFormBlock ($formBlock) | |
Protected Member Functions | |
| _beforeToHtml () | |
Protected Attributes | |
| $_element | |
| $_form | |
| $_formBlock | |
Definition at line 34 of file Element.php.
| __construct | ( | ) |
Constructor
By default is looking for first argument as array and assignes it as object attributes This behaviour may change in child classes
Reimplemented from Varien_Object.
Definition at line 40 of file Element.php.
00041 { 00042 parent::__construct(); 00043 $this->setTemplate('widget/form/element.phtml'); 00044 }
| _beforeToHtml | ( | ) | [protected] |
Before rendering html, but after trying to load cache
Reimplemented from Mage_Core_Block_Abstract.
Definition at line 64 of file Element.php.
00065 { 00066 $this->assign('form', $this->_form); 00067 $this->assign('element', $this->_element); 00068 $this->assign('formBlock', $this->_formBlock); 00069 00070 return parent::_beforeToHtml(); 00071 }
| setElement | ( | $ | element | ) |
| setForm | ( | $ | form | ) |
| setFormBlock | ( | $ | formBlock | ) |
$_element [protected] |
Definition at line 36 of file Element.php.
$_form [protected] |
Definition at line 37 of file Element.php.
$_formBlock [protected] |
Definition at line 38 of file Element.php.
1.5.8