本文整理汇总了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;
}