本文整理汇总了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
{
/**