예제 #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
파일: Form.php 프로젝트: Airmal/Magento-Em
 /**
  * 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);
 }