/** * Returns the list of targets where this widget is available * * @return array */ public static function getAllowedTargets() { $list = parent::getAllowedTargets(); $list[] = 'paypal_settings'; $list[] = 'paypal_credit'; return $list; }
/** * Returns the list of targets where this widget is available * * @return void */ public static function getAllowedTargets() { $list = parent::getAllowedTargets(); $list[] = 'profile'; $list[] = 'address_book'; $list[] = 'order_list'; return $list; }
/** * Returns the list of targets where this widget is available * * @return array */ public static function getAllowedTargets() { $list = parent::getAllowedTargets(); $list[] = 'categories'; if (\XLite\Core\Request::getInstance()->id) { $list[] = 'category'; $list[] = 'category_products'; } return $list; }
/** * Returns the list of targets where this widget is available * * @return void */ public static function getAllowedTargets() { $list = parent::getAllowedTargets(); $list[] = 'front_page'; return $list; }