public function __construct($attributes = array()) { parent::__construct($attributes); $this->setType('select'); $this->setExtType('multiple'); $this->setSize(10); }
public function __construct($attributes = array()) { parent::__construct($attributes); $this->setType('select'); $this->setExtType('combobox'); $this->_prepareOptions(); }
public function __construct($attributes = array()) { parent::__construct($attributes); $this->setType('textarea'); $this->setExtType('textarea'); $this->setRows(2); $this->setCols(15); }
public function __construct($attributes = []) { parent::__construct($attributes); $this->setType('text'); $this->setExtType('textfield'); $this->_renderer = null; // disable renderer }
public function __construct($attributes = array()) { parent::__construct($attributes); $this->setType('text'); $this->setExtType('textfield'); if (isset($attributes['value'])) { $this->setValue($attributes['value']); } }
public function __construct($attributes = array()) { parent::__construct($attributes); $this->setType('file'); $this->setExtType('imagefile'); $this->setAutosubmit(false); $this->setData('autoSubmit', false); //$this->setExtType('file'); }
/** * Constructor * * @param array $attributes */ public function __construct(array $attributes = array()) { parent::__construct($attributes); $this->_mediaUploader = isset($attributes['mediaUploader']) ? $attributes['mediaUploader'] : Mage::getSingleton('Mage_Adminhtml_Block_Media_Uploader'); $this->_url = isset($attributes['url']) ? $attributes['url'] : Mage::getModel('Mage_Backend_Model_Url'); $this->_coreHelper = isset($attributes['coreHelper']) ? $attributes['coreHelper'] : Mage::helper('Mage_Core_Helper_Data'); $this->_catalogHelperData = isset($attributes['catalogHelperData']) ? $attributes['catalogHelperData'] : Mage::helper('Mage_Catalog_Helper_Data'); $this->_maxFileSize = $this->_getFileMaxSize(); }
/** * @param array $attributes */ public function __construct(array $attributes = array()) { if (isset($attributes['helperFactory'])) { $this->_helperFactory = $attributes['helperFactory']; unset($attributes['helperFactory']); } else { $this->_helperFactory = Mage::getSingleton('Mage_Core_Model_Factory_Helper'); } parent::__construct($attributes); }
/** * Enter description here... * * @param array $attributes */ public function __construct($attributes = array()) { parent::__construct($attributes); $this->_renderer = Varien_Data_Form::getFieldsetRenderer(); $this->setType('fieldset'); if (isset($attributes['advancedSection'])) { $this->_labelAdvanceSection = $attributes['advancedSection']; } else { $this->_labelAdvanceSection = Mage::helper('Mage_Core_Helper_Data')->__('Additional Settings'); } }
public function __construct($attributes = array()) { parent::__construct($attributes); if (array_key_exists('label', $attributes)) { $this->label = $attributes['label']; } if (array_key_exists('onclick', $attributes)) { $this->onclick = $attributes['onclick']; } if (array_key_exists('comment', $attributes)) { $this->comment = $attributes['comment']; } if (array_key_exists('style', $attributes)) { $this->style = $attributes['style']; } }
public function __construct($attributes = array()) { parent::__construct($attributes); $this->setType('slideshowhidden'); $this->setExtType('hiddenfield'); }
public function __construct($attributes = array()) { parent::__construct($attributes); $this->setType('text'); $this->setExtType('textfield'); }
/** * Init Element * * @param array $attributes */ public function __construct($attributes = array()) { parent::__construct($attributes); $this->setType('checkbox'); $this->setExtType('checkbox'); }
public function __construct($attributes = array()) { parent::__construct($attributes); $this->setType('tab'); $this->setExtType('multiselect'); }
public function __construct($attributes = array()) { parent::__construct($attributes); $this->setTemplate('version/' . $attributes['version_type'] . '.phtml'); }
public function __construct($attributes = array()) { parent::__construct($attributes); $this->setType('textslideshowrespon'); $this->setExtType('text'); }
public function __construct($data) { parent::__construct($data); }
/** * Enter description here... * * @param array $attributes */ public function __construct($attributes = array()) { parent::__construct($attributes); $this->_renderer = Varien_Data_Form::getFieldsetRenderer(); $this->setType('fieldset'); }
public function __construct($attributes = array()) { parent::__construct($attributes); $this->_childBlock = Mage::app()->getLayout()->createBlock('aligent_customformelements/array_generic'); $this->_childBlock->addData($attributes); }
public function __construct($attributes = array()) { parent::__construct($attributes); $this->setType('submitButton'); }
/** * Enter description here... * * @param array $data */ public function __construct($data) { parent::__construct($data); $this->setType('file'); }
public function __construct($attributes = array()) { parent::__construct($attributes); $this->setType('text'); $this->addClass('input-text'); }
public function __construct($attributes = array()) { parent::__construct($attributes); $this->loadAttributesToData($attributes); }
public function __construct($attributes = array()) { parent::__construct($attributes); $this->setType('text'); $this->setLineCount(2); }
public function __construct($attribute = array()) { parent::__construct($attribute); }
public function __construct($attributes = array()) { parent::__construct($attributes); $this->setType('link'); }
/** * @param array $data */ public function __construct($data) { parent::__construct($data); $this->setType('checkbox'); $this->setValue('0'); }