本文整理匯總了PHP中Mage_Adminhtml_Block_Widget_Grid_Container::getHeaderText方法的典型用法代碼示例。如果您正苦於以下問題:PHP Mage_Adminhtml_Block_Widget_Grid_Container::getHeaderText方法的具體用法?PHP Mage_Adminhtml_Block_Widget_Grid_Container::getHeaderText怎麽用?PHP Mage_Adminhtml_Block_Widget_Grid_Container::getHeaderText使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Mage_Adminhtml_Block_Widget_Grid_Container
的用法示例。
在下文中一共展示了Mage_Adminhtml_Block_Widget_Grid_Container::getHeaderText方法的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: getHeaderText
public function getHeaderText()
{
//------------------------------
$changeProfile = Mage::helper('M2ePro')->__('Change Listing');
$headerText = parent::getHeaderText();
$listingTitle = Mage::helper('M2ePro')->escapeHtml($this->listing->getTitle());
//------------------------------
return <<<HTML
{$headerText}
<a href="javascript: void(0);"
id="listing-profile-title"
class="listing-profile-title"
style="font-weight: bold;"
title="{$changeProfile}"><span class="drop_down_header">"{$listingTitle}"</span></a>
HTML;
}
示例2: getHeaderText
public function getHeaderText()
{
//------------------------------
$changeProfile = Mage::helper('M2ePro')->__('Change Listing');
$headerText = parent::getHeaderText();
$listingData = Mage::helper('M2ePro/Data_Global')->getValue('temp_data');
$listingTitle = Mage::helper('M2ePro')->escapeHtml($listingData['title']);
//------------------------------
return <<<HTML
{$headerText} <a href="javascript: void(0);"
id="listing-profile-title"
class="listing-profile-title"
style="font-weight: bold;"
title="{$changeProfile}"><span class="drop_down_header">"{$listingTitle}"</span></a>
HTML;
}