本文整理匯總了PHP中XLite\View\AView::getAllowedTargets方法的典型用法代碼示例。如果您正苦於以下問題:PHP AView::getAllowedTargets方法的具體用法?PHP AView::getAllowedTargets怎麽用?PHP AView::getAllowedTargets使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類XLite\View\AView
的用法示例。
在下文中一共展示了AView::getAllowedTargets方法的9個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: getAllowedTargets
/**
* Return list of targets allowed for this widget
*
* @return array
*/
public static function getAllowedTargets()
{
$result = parent::getAllowedTargets();
$result[] = 'category';
$result[] = 'main';
return $result;
}
示例2: getAllowedTargets
/**
* Return list of targets allowed for this widget
*
* @return array
*/
public static function getAllowedTargets()
{
$result = parent::getAllowedTargets();
$result[] = 'tax_classes';
$result[] = 'sales_tax';
$result[] = 'vat_tax';
return $result;
}
示例3: getAllowedTargets
/**
* Return list of allowed targets
*
* @return array
*/
public static function getAllowedTargets()
{
$list = parent::getAllowedTargets();
$list[] = 'widgets_collection';
return $list;
}
示例4: getAllowedTargets
/**
* Return list of targets allowed for this widget
*
* @return array
*/
public static function getAllowedTargets()
{
$result = parent::getAllowedTargets();
$result[] = 'login';
return $result;
}
示例5: getAllowedTargets
/**
* Return list of allowed targets
*
* @return array
*/
public static function getAllowedTargets()
{
$result = parent::getAllowedTargets();
$result[] = 'shipping_methods';
return $result;
}
示例6: getAllowedTargets
/**
* Return list of allowed targets
*
* @return array
*/
public static function getAllowedTargets()
{
return array_merge(parent::getAllowedTargets(), array('profile_list'));
}
示例7: getAllowedTargets
/**
* Return list of allowed targets
*
* @return array
*/
public static function getAllowedTargets()
{
return array_merge(parent::getAllowedTargets(), array('category', 'categories', 'category_products'));
}
示例8: getAllowedTargets
/**
* Return list of allowed targets
*
* @return array
*/
public static function getAllowedTargets()
{
$targets = parent::getAllowedTargets();
$targets[] = 'checkoutPayment';
return $targets;
}
示例9: getAllowedTargets
/**
* Return list of targets allowed for this widget
*
* @return array
*/
public static function getAllowedTargets()
{
$result = parent::getAllowedTargets();
$result[] = \XLite::TARGET_404;
return $result;
}