当前位置: 首页>>代码示例>>PHP>>正文


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怎么用?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();
 }
开发者ID:artmouse,项目名称:Magento-CustomFormElements,代码行数:7,代码来源:Generic.php

示例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();
 }
开发者ID:YouweGit,项目名称:algoliasearch-magento,代码行数:7,代码来源:Custompages.php

示例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();
 }
开发者ID:algolia,项目名称:algoliasearch-magento,代码行数:25,代码来源:AbstractField.php

示例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();
 }
开发者ID:vishalpatel14,项目名称:indiankalaniketan,代码行数:7,代码来源:Notwords.php

示例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();
 }
开发者ID:omusico,项目名称:losvineros,代码行数:7,代码来源:Additem.php

示例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();
 }
开发者ID:CE-Webmaster,项目名称:CE-Hub,代码行数:7,代码来源:Invoicestatus.php

示例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();
 }
开发者ID:thiagormartins,项目名称:iugu-magento,代码行数:7,代码来源:Interest.php

示例8: __construct

 public function __construct()
 {
     $this->addColumn('action', array('label' => __('Action'), 'style' => 'width:100px'));
     $this->_addAfter = false;
     $this->_addButtonLabel = __('Add');
     parent::__construct();
 }
开发者ID:vinayshuklasourcefuse,项目名称:sareez,代码行数:7,代码来源:CacheableActions.php

示例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();
 }
开发者ID:igorvasiliev4,项目名称:magento_code,代码行数:7,代码来源:Feedbackfields.php

示例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();
 }
开发者ID:billadams,项目名称:forever-frame,代码行数:8,代码来源:Commission.php

示例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();
 }
开发者ID:aram93,项目名称:mage-enhanced-admin-grids,代码行数:8,代码来源:Exceptions.php

示例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();
 }
开发者ID:Eximagen,项目名称:pfizer,代码行数:11,代码来源:Stash.php

示例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();
 }
开发者ID:IvanRybakov,项目名称:algoliasearch-magento,代码行数:8,代码来源:Customrankingproduct.php

示例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();
 }
开发者ID:finelinePG,项目名称:finelink-dev,代码行数:8,代码来源:Urltable.php

示例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');
 }
开发者ID:novapc,项目名称:magento,代码行数:8,代码来源:Values.php


注:本文中的Mage_Adminhtml_Block_System_Config_Form_Field_Array_Abstract::__construct方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。