예제 #1
0
 /**
  * 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;
 }
예제 #2
0
파일: Account.php 프로젝트: kingsj/core
 /**
  * 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;
 }
예제 #3
0
 /**
  * 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;
 }
예제 #4
0
 /**
  * Returns the list of targets where this widget is available
  *
  * @return void
  */
 public static function getAllowedTargets()
 {
     $list = parent::getAllowedTargets();
     $list[] = 'front_page';
     return $list;
 }