/**
  * 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
文件: Form.php 项目: nemphys/magento2
 /**
  * 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);
 }