本文整理汇总了PHP中Mage_Adminhtml_Block_System_Config_Form_Field::_prepareLayout方法的典型用法代码示例。如果您正苦于以下问题:PHP Mage_Adminhtml_Block_System_Config_Form_Field::_prepareLayout方法的具体用法?PHP Mage_Adminhtml_Block_System_Config_Form_Field::_prepareLayout怎么用?PHP Mage_Adminhtml_Block_System_Config_Form_Field::_prepareLayout使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Mage_Adminhtml_Block_System_Config_Form_Field
的用法示例。
在下文中一共展示了Mage_Adminhtml_Block_System_Config_Form_Field::_prepareLayout方法的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: _prepareLayout
protected function _prepareLayout()
{
parent::_prepareLayout();
if (Mage::getSingleton('cms/wysiwyg_config')->isEnabled()) {
$this->getLayout()->getBlock('head')->setCanLoadTinyMce(true);
}
}
示例2: _prepareLayout
protected function _prepareLayout()
{
$this->getLayout()->getBlock('head')->addJs('shopshark/jquery-1.8.3.min.js');
$this->getLayout()->getBlock('head')->addJs('shopshark/jquery.noconflict.js');
$this->getLayout()->getBlock('head')->addJs('shopshark/jquery.mColorPicker.min.js');
return parent::_prepareLayout();
}
示例3: _prepareLayout
/**
* @return $this|Mage_Core_Block_Abstract
*/
protected function _prepareLayout()
{
$this->_connection = Mage::getSingleton('core/resource')->getConnection(Mage_Core_Model_Resource::DEFAULT_SETUP_RESOURCE);
parent::_prepareLayout();
$this->setTemplate('schumacherfm/findexer/system/config/database.phtml');
return $this;
}
示例4: _prepareLayout
/**
* Set template to itself
*/
protected function _prepareLayout()
{
parent::_prepareLayout();
if (!$this->getTemplate()) {
$this->setTemplate('magemonkey/system/config/oauth_wizard.phtml');
}
return $this;
}
示例5: _prepareLayout
/**
* Set template to itself
*
* @return Steverobbins_Slack_Block_Adminhtml_System_Config_Channels
*/
protected function _prepareLayout()
{
parent::_prepareLayout();
if (!$this->getTemplate()) {
$this->setTemplate('steverobbins/slack/system/config/channels.phtml');
}
return $this;
}
示例6: _prepareLayout
protected function _prepareLayout()
{
parent::_prepareLayout();
if (!$this->getTemplate()) {
$this->setTemplate('ordermanager/order_status_color.phtml');
}
return $this;
}
示例7: _prepareLayout
/**
* Set template to itself
*
* @return Ebizmarts_SweetMonkey_Block_Adminhtml_System_Config_Autovars
*/
protected function _prepareLayout()
{
parent::_prepareLayout();
if (!$this->getTemplate()) {
$this->setTemplate('sweetmonkey/system/config/autovars.phtml');
}
return $this;
}
示例8: _prepareLayout
/**
* Set template block template
*
* @return Tritac_ChannelEngine_Block_Adminhtml_System_Config_Feed
*/
protected function _prepareLayout()
{
parent::_prepareLayout();
if (!$this->getTemplate()) {
$this->setTemplate('channelengine/system/config/feed/generate_button.phtml');
}
return $this;
}
示例9: _prepareLayout
/**
* Set template
*/
protected function _prepareLayout()
{
parent::_prepareLayout();
if (!$this->getTemplate()) {
$this->setTemplate('rakuten/system/config/signup.phtml');
}
return $this;
}
示例10: _prepareLayout
/**
* Make sure the template gets set appropriately
* @return self
*/
protected function _prepareLayout()
{
parent::_prepareLayout();
if (!$this->getTemplate()) {
$this->setTemplate('eb2ccore/system/config/testsftpconnection.phtml');
}
return $this;
}
示例11: _prepareLayout
/**
* Set template to itself
*/
protected function _prepareLayout()
{
parent::_prepareLayout();
if (!$this->getTemplate()) {
$this->setTemplate($this->_wizardTemplate);
}
return $this;
}
示例12: _prepareLayout
/**
* Set template to itself
*
* @return Mage_Adminhtml_Block_Customer_System_Config_Validatevat
*/
protected function _prepareLayout()
{
parent::_prepareLayout();
if (!$this->getTemplate()) {
$this->setTemplate('customer/system/config/validatevat.phtml');
}
return $this;
}
示例13: _prepareLayout
/**
* Set template to itself
*
* @return Newsman_Newsletter_Block_Adminhtml_System_Config_Manualsync
*/
protected function _prepareLayout()
{
parent::_prepareLayout();
if (!$this->getTemplate()) {
$this->setTemplate('newsman/system/config/manualsync.phtml');
}
return $this;
}