本文整理汇总了PHP中Mage_Adminhtml_Block_System_Config_Form_Field::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP Mage_Adminhtml_Block_System_Config_Form_Field::__construct方法的具体用法?PHP Mage_Adminhtml_Block_System_Config_Form_Field::__construct怎么用?PHP Mage_Adminhtml_Block_System_Config_Form_Field::__construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Mage_Adminhtml_Block_System_Config_Form_Field
的用法示例。
在下文中一共展示了Mage_Adminhtml_Block_System_Config_Form_Field::__construct方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: __construct
public function __construct()
{
parent::__construct();
if (!$this->getTemplate()) {
$this->setTemplate('enterprise/giftcardaccount/config/generate.phtml');
}
}
示例2: __construct
public function __construct()
{
parent::__construct();
if ($head = Mage::app()->getLayout()->getBlock('head')) {
$head->setCanLoadExtJs(true);
}
}
示例3: __construct
/**
* Check if columns are defined, set template
*
*/
public function __construct()
{
if (!$this->_addButtonLabel) {
$this->_addButtonLabel = Mage::helper('adminhtml')->__('Add');
}
parent::__construct();
if (!$this->getTemplate()) {
$this->setTemplate('system/config/form/field/array.phtml');
}
}
示例4: __construct
public function __construct()
{
parent::__construct();
if (!$this->getTemplate()) {
$this->setTemplate('udtiership/system/form_field/v2/simple_cond_rates.phtml');
}
if ($head = Mage::app()->getLayout()->getBlock('head')) {
$head->setCanLoadExtJs(true);
}
}
示例5: __construct
/**
* Check if columns are defined, set template
*
*/
public function __construct()
{
if (empty($this->_columns)) {
throw new Exception('At least one column must be defined.');
}
if (!$this->_addButtonLabel) {
$this->_addButtonLabel = Mage::helper('adminhtml')->__('Add');
}
parent::__construct();
if (!$this->getTemplate()) {
$this->setTemplate('system/config/form/field/array.phtml');
}
}
示例6: __construct
/**
* Constructor for block
*
*/
public function __construct()
{
parent::__construct();
}
示例7: __construct
/**
* Constructor for block
*
*/
public function __construct()
{
parent::__construct();
$this->setTemplate('affiliatepluslevel/tier.phtml');
}
示例8: __construct
public function __construct()
{
parent::__construct();
$this->setTemplate('pdfinvoiceplus/configurations/checkbox.phtml');
}