Пример #1
0
 /**
  * Init element object abstract
  *
  * @param array $attributes
  */
 public function __construct($attributes = array())
 {
     parent::__construct($attributes);
     $this->_renderer = Mage_XmlConnect_Model_Simplexml_Form::getElementRenderer();
 }
Пример #2
0
 /**
  * Init simple xml form
  *
  * @param array $attributes
  */
 public function __construct($attributes = array())
 {
     parent::__construct($attributes);
     $this->setType('form');
     $this->_allElements = Mage::getModel('xmlconnect/simplexml_form_element_collection', $this);
 }
Пример #3
0
 /**
  * Init simple xml form
  *
  * @param array $attributes
  */
 public function __construct($attributes = array())
 {
     parent::__construct($attributes);
     $this->setType('form');
     $this->_allElements = Mage::getModel('Mage_XmlConnect_Model_Simplexml_Form_Element_Collection', $this);
 }