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


PHP Mage_XmlConnect_Block_Adminhtml_Mobile_Widget_Form::_prepareLayout方法代码示例

本文整理汇总了PHP中Mage_XmlConnect_Block_Adminhtml_Mobile_Widget_Form::_prepareLayout方法的典型用法代码示例。如果您正苦于以下问题:PHP Mage_XmlConnect_Block_Adminhtml_Mobile_Widget_Form::_prepareLayout方法的具体用法?PHP Mage_XmlConnect_Block_Adminhtml_Mobile_Widget_Form::_prepareLayout怎么用?PHP Mage_XmlConnect_Block_Adminhtml_Mobile_Widget_Form::_prepareLayout使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Mage_XmlConnect_Block_Adminhtml_Mobile_Widget_Form的用法示例。


在下文中一共展示了Mage_XmlConnect_Block_Adminhtml_Mobile_Widget_Form::_prepareLayout方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: _prepareLayout

 /**
  * Load Wysiwyg on demand and Prepare layout
  */
 protected function _prepareLayout()
 {
     parent::_prepareLayout();
     if (Mage::getSingleton('cms/wysiwyg_config')->isEnabled()) {
         $this->getLayout()->getBlock('head')->setCanLoadTinyMce(true);
     }
 }
开发者ID:cewolf2002,项目名称:magento,代码行数:10,代码来源:Form.php

示例2: _prepareLayout

 protected function _prepareLayout()
 {
     $application = Mage::registry('current_app');
     $actionUrl = $this->getUrl('*/*/submissionPost', array('key' => $application->getId()));
     $this->setChild('submission_scripts', $this->getLayout()->createBlock('adminhtml/template')->setActionUrl($actionUrl)->setTemplate('xmlconnect/submission_scripts.phtml'));
     if ($application->getIsResubmitAction()) {
         $block = $this->getLayout()->createBlock('adminhtml/template')->setTemplate('xmlconnect/resubmit.phtml')->setActionUrl($actionUrl)->setActivationKey($application->getActivationKey())->setResubmissionName('conf[submit_text][resubmission_activation_key]');
         $this->setChild('resubmit', $block);
         $block = $this->getLayout()->createBlock('adminhtml/template')->setTemplate('xmlconnect/images.phtml')->setImages($application->getImages());
         $this->setChild('images', $block);
     }
     parent::_prepareLayout();
 }
开发者ID:votanlean,项目名称:Magento-Pruebas,代码行数:13,代码来源:Submission.php

示例3: _prepareLayout

 /**
  * Adding preview for images if application was submitted(so we have saved images)
  *
  * @return Mage_Core_Block_Abstract
  */
 protected function _prepareLayout()
 {
     $block = $this->getLayout()->createBlock('adminhtml/template')->setTemplate('xmlconnect/submission/app_icons_preview.phtml')->setImages($this->getApplication()->getImages());
     $this->setChild('images', $block);
     parent::_prepareLayout();
 }
开发者ID:votanlean,项目名称:Magento-Pruebas,代码行数:11,代码来源:Submission.php

示例4: _prepareLayout

 /**
  * Adding preview for images if application was submitted(so we have saved images)
  *
  * @return Mage_Core_Block_Abstract
  */
 protected function _prepareLayout()
 {
     $block = $this->getLayout()->createBlock('Mage_Adminhtml_Block_Template')->setTemplate('Mage_XmlConnect::submission/app_icons_preview.phtml')->setImages(Mage::helper('Mage_XmlConnect_Helper_Data')->getApplication()->getImages());
     $this->setChild('images', $block);
     parent::_prepareLayout();
 }
开发者ID:nemphys,项目名称:magento2,代码行数:11,代码来源:Submission.php


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