本文整理汇总了PHP中Mage_Adminhtml_Block_Template::_toHtml方法的典型用法代码示例。如果您正苦于以下问题:PHP Mage_Adminhtml_Block_Template::_toHtml方法的具体用法?PHP Mage_Adminhtml_Block_Template::_toHtml怎么用?PHP Mage_Adminhtml_Block_Template::_toHtml使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Mage_Adminhtml_Block_Template
的用法示例。
在下文中一共展示了Mage_Adminhtml_Block_Template::_toHtml方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: _toHtml
protected function _toHtml()
{
$period = 30;
$codes = Mage::getResourceModel('amfpccrawler/log')->getStatusCodes($period);
$this->setCodes($codes);
return parent::_toHtml();
}
示例2: _toHtml
protected function _toHtml()
{
if (!Mage::getStoreConfig('sales_email/order/include')) {
return '';
}
return parent::_toHtml();
}
示例3: _toHtml
protected function _toHtml()
{
if ($this->isEditorAllowed()) {
return parent::_toHtml();
}
return '<!-- Markdown Editor Disabled. See System -> Permission -> Roles -->';
}
示例4: _toHtml
protected function _toHtml()
{
if (!$this->getIsNewGridModel() && ($gridBlock = $this->getGridBlock()) && $gridBlock->getFilterVisibility()) {
return parent::_toHtml();
}
return '';
}
示例5: _toHtml
/**
* ACL validation before html generation
*
* @return string
*/
protected function _toHtml()
{
if (Mage::getSingleton('Mage_Admin_Model_Session')->isAllowed('system/index')) {
return parent::_toHtml();
}
return '';
}
示例6: _toHtml
/**
* Prepare html output
*
* @return string
*/
protected function _toHtml()
{
if (!$this->_canShowNotification()) {
return '';
}
return parent::_toHtml();
}
示例7: _toHtml
protected function _toHtml()
{
$html = $this->_beforeToHtmlHtml();
$html .= parent::_toHtml();
$html .= $this->_afterToHtmlHtml();
return $html;
}
示例8: _toHtml
protected function _toHtml()
{
$period = 30;
$crawled = Mage::getResourceModel('amfpccrawler/log')->getCrawledPages($period);
$this->setCrawled($crawled);
return parent::_toHtml();
}
示例9: _toHtml
protected function _toHtml()
{
$period = 30;
$load = Mage::getResourceModel('amfpccrawler/log')->getPageLoadTime($period);
$this->setLoad($load);
return parent::_toHtml();
}
示例10: _toHtml
/**
* Apply admin acl
*/
protected function _toHtml()
{
if (!Mage::getSingleton('admin/session')->isAllowed('sales/enterprise_checkout/update')) {
return '';
}
return parent::_toHtml();
}
示例11: _toHtml
protected function _toHtml()
{
if (!$this->_helper->isEnabled()) {
return '';
}
return parent::_toHtml();
}
示例12: _toHtml
protected function _toHtml()
{
if (!Mage::getModel('M2ePro/Accounts')->isSingleAccountMode()) {
return parent::_toHtml();
}
return '';
}
示例13: _toHtml
protected function _toHtml()
{
if ($this->_section == 'mstcore_store') {
return parent::_toHtml();
} else {
return '';
}
}
示例14: _toHtml
protected function _toHtml()
{
$this->setTemplate('aw_hdu3/ticket/edit/container/thread/status/full.phtml');
if ($this->getIsShort()) {
$this->setTemplate('aw_hdu3/ticket/edit/container/thread/status/short.phtml');
}
return parent::_toHtml();
}
示例15: _toHtml
protected function _toHtml()
{
$filter = $this->getFilter();
if (!$filter instanceof Mzax_Emarketing_Model_Object_Filter_Abstract) {
return 'NO FILTER :(';
}
return parent::_toHtml();
}