示例#1
0
文件: Main.php 项目: kingsj/core
 /**
  * Return list of allowed targets
  *
  * @return array
  */
 public static function getAllowedTargets()
 {
     $list = parent::getAllowedTargets();
     $list[] = 'product';
     return $list;
 }
示例#2
0
文件: QuickLook.php 项目: kingsj/core
 /**
  * Return list of allowed targets
  *
  * @return array
  */
 public static function getAllowedTargets()
 {
     $list = parent::getAllowedTargets();
     $list[] = 'quick_look';
     return $list;
 }