コード例 #1
0
ファイル: Bestsellers.php プロジェクト: kingsj/core
 /**
  * Return list of targets allowed for this widget
  *
  * @return array
  */
 public static function getAllowedTargets()
 {
     $result = parent::getAllowedTargets();
     $result[] = 'main';
     $result[] = 'category';
     return $result;
 }
コード例 #2
0
ファイル: Search.php プロジェクト: kingsj/core
 /**
  * Return list of targets allowed for this widget
  *
  * @return array
  */
 public static function getAllowedTargets()
 {
     $result = parent::getAllowedTargets();
     $result[] = self::WIDGET_TARGET;
     return $result;
 }
コード例 #3
0
ファイル: ABought.php プロジェクト: kirkbauer2/kirkxc
 /**
  * Return list of targets allowed for this widget
  *
  * @return array
  */
 public static function getAllowedTargets()
 {
     $result = parent::getAllowedTargets();
     $result[] = static::getWidgetTarget();
     return $result;
 }
コード例 #4
0
ファイル: Products.php プロジェクト: kirkbauer2/kirkxc
 /**
  * Return list of targets allowed for this widget
  *
  * @return array
  */
 public static function getAllowedTargets()
 {
     $result = parent::getAllowedTargets();
     $result[] = 'add2_cart_popup';
     return $result;
 }