本文整理汇总了PHP中Mage_Adminhtml_Block_System_Config_Form_Field_Array_Abstract::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP Mage_Adminhtml_Block_System_Config_Form_Field_Array_Abstract::__construct方法的具体用法?PHP Mage_Adminhtml_Block_System_Config_Form_Field_Array_Abstract::__construct怎么用?PHP Mage_Adminhtml_Block_System_Config_Form_Field_Array_Abstract::__construct使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Mage_Adminhtml_Block_System_Config_Form_Field_Array_Abstract
的用法示例。
在下文中一共展示了Mage_Adminhtml_Block_System_Config_Form_Field_Array_Abstract::__construct方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __construct
public function __construct()
{
if (!$this->getTemplate()) {
$this->setTemplate('aligent/customformelements/form/field/array.phtml');
}
parent::__construct();
}
示例2: __construct
public function __construct()
{
$this->addColumn('pages', array('label' => Mage::helper('adminhtml')->__('Pages'), 'renderer' => $this->getRenderer('pages')));
$this->_addAfter = false;
$this->_addButtonLabel = Mage::helper('adminhtml')->__('Add Excluded Page');
parent::__construct();
}
示例3: __construct
public function __construct()
{
if (!isset($this->settings)) {
throw new Exception('Please, specify columns settings.');
}
foreach ($this->settings['columns'] as $columnName => $columnSettings) {
$fieldSettings = array();
if (isset($columnSettings['label'])) {
$fieldSettings['label'] = Mage::helper('adminhtml')->__($columnSettings['label']);
}
if (isset($columnSettings['options'])) {
$fieldSettings['renderer'] = $this->getRenderer($columnName, $columnSettings);
}
if (isset($columnSettings['class'])) {
$fieldSettings['class'] = $columnSettings['class'];
}
if (isset($columnSettings['style'])) {
$fieldSettings['style'] = $columnSettings['style'];
}
$this->addColumn($columnName, $fieldSettings);
}
$this->_addAfter = $this->settings['addAfter'];
$this->_addButtonLabel = Mage::helper('adminhtml')->__($this->settings['buttonLabel']);
parent::__construct();
}
示例4: __construct
public function __construct()
{
$this->addColumn('word', array('label' => Mage::helper('adminhtml')->__('Word'), 'style' => 'width:120px'));
$this->_addAfter = false;
$this->_addButtonLabel = Mage::helper('adminhtml')->__('Add');
parent::__construct();
}
示例5: __construct
public function __construct()
{
$this->addColumn('slide', array('label' => Mage::helper('adminhtml')->__('Content of slide'), 'style' => 'width:450px; height:300px', 'type' => 'textarea'));
$this->_addAfter = false;
$this->_addButtonLabel = Mage::helper('adminhtml')->__('Add HTML Slide');
Mage_Adminhtml_Block_System_Config_Form_Field_Array_Abstract::__construct();
}
示例6: __construct
public function __construct()
{
$this->addColumn('feature', array('label' => Mage::helper('ordermanager')->__('Invoice Label'), 'size' => 28));
$this->_addAfter = false;
$this->_addButtonLabel = Mage::helper('ordermanager')->__('Create Invoice Label');
parent::__construct();
}
示例7: __construct
public function __construct()
{
$this->addColumn('installments', array('label' => Mage::helper('iugu')->__('Up To'), 'style' => 'width:120px'));
$this->addColumn('interest', array('label' => Mage::helper('iugu')->__('Interest Rate'), 'style' => 'width:120px'));
$this->_addAfter = false;
parent::__construct();
}
示例8: __construct
public function __construct()
{
$this->addColumn('action', array('label' => __('Action'), 'style' => 'width:100px'));
$this->_addAfter = false;
$this->_addButtonLabel = __('Add');
parent::__construct();
}
示例9: __construct
public function __construct()
{
$this->addColumn('value', array('label' => $this->__('Label'), 'style' => 'width:250px'));
$this->_addAfter = false;
$this->_addButtonLabel = $this->__('Add label');
parent::__construct();
}
示例10: __construct
public function __construct()
{
$this->addColumn('sales', array('label' => Mage::helper('affiliateplus')->__('#Sales/#Orders'), 'style' => 'width:120px'));
$this->addColumn('commission', array('label' => Mage::helper('affiliateplus')->__('Commission'), 'style' => 'width:120px'));
$this->_addAfter = false;
$this->_addButtonLabel = Mage::helper('affiliateplus')->__('Add Level');
parent::__construct();
}
示例11: __construct
public function __construct()
{
$this->addColumn('block_type', array('label' => $this->__('Block Type'), 'style' => 'width:200px'));
$this->addColumn('rewriting_class_name', array('label' => $this->__('Rewriting Class'), 'style' => 'width:200px'));
$this->_addAfter = false;
$this->_addButtonLabel = $this->__('Add Exception');
parent::__construct();
}
示例12: __construct
/**
* Constructor
*/
public function __construct()
{
$this->addColumn('key', array('label' => Mage::helper('vbw_punchout')->__('Key'), 'style' => 'width:120px'));
$this->_addAfter = false;
$this->_addButtonLabel = Mage::helper('vbw_punchout')->__('Add Another Key');
// run parent constructor
parent::__construct();
}
示例13: __construct
public function __construct()
{
$this->addColumn('attribute', array('label' => Mage::helper('adminhtml')->__('Attribute'), 'renderer' => $this->getRenderer('attribute')));
$this->addColumn('order', array('label' => Mage::helper('adminhtml')->__('Ordered'), 'renderer' => $this->getRenderer('order')));
$this->_addAfter = false;
$this->_addButtonLabel = Mage::helper('adminhtml')->__('Add Ranking Criterion');
parent::__construct();
}
示例14: __construct
public function __construct()
{
$this->addColumn('url', array('label' => Mage::helper('mageparts_base')->__('URL'), 'style' => 'width:229px'));
$this->addColumn('type', array('label' => Mage::helper('mageparts_base')->__('Type'), 'renderer' => $this->_getTypeRenderer()));
$this->_addAfter = false;
$this->_addButtonLabel = Mage::helper('adminhtml')->__('Add URL');
parent::__construct();
}
示例15: __construct
public function __construct()
{
$this->addColumn('descProduct', array('label' => Mage::helper('adminhtml')->__('Description Product'), 'size' => 28));
$this->_addAfter = false;
$this->_addButtonLabel = Mage::helper('adminhtml')->__('Add new Field');
parent::__construct();
$this->setTemplate('db1/anymarket/system/config/form/field/array_dropdown.phtml');
}