本文整理匯總了PHP中Tab::exfeaturesMap方法的典型用法代碼示例。如果您正苦於以下問題:PHP Tab::exfeaturesMap方法的具體用法?PHP Tab::exfeaturesMap怎麽用?PHP Tab::exfeaturesMap使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Tab
的用法示例。
在下文中一共展示了Tab::exfeaturesMap方法的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: hookbackOfficeHeader
/**
* When prestashop generate url for some links in Catalog page (Admin panel),
* it use string constant AdminCatalog instead of $currentIndex, as I have guess early.
* This function map $tab from AdminCatalog to AdminCatalogExFeatures
*
* @param array The same array, which passed to all hooks in prestashop
* @return string Empty string, because output of this function insert into output html of header.
*/
public function hookbackOfficeHeader($params)
{
global $tab;
$tab = Tab::exfeaturesMap($tab);
AdminTab::$tabParenting["AdminProducts"] = 'AdminCatalogExFeatures';
AdminTab::$tabParenting["AdminCategories"] = 'AdminCatalogExFeatures';
AdminTab::$tabParenting["AdminFeaturesValues"] = 'AdminExFeatures';
return '';
}
示例2:
* @category modules
* @package 'exfeatures'
*/
class Tools extends ToolsCore
{
/**