コード例 #1
0
ファイル: UploadAddons.php プロジェクト: kirkbauer2/kirkxc
 /**
  * Return list of targets allowed for this widget
  *
  * @return array
  */
 public static function getAllowedTargets()
 {
     $result = parent::getAllowedTargets();
     $result[] = self::UPLOAD_ADDONS_TARGET;
     return $result;
 }
コード例 #2
0
ファイル: Manage.php プロジェクト: kingsj/core
 /**
  * Return list of targets allowed for this widget
  *
  * @return array
  */
 public static function getAllowedTargets()
 {
     $result = parent::getAllowedTargets();
     $result[] = 'addons_list_installed';
     return $result;
 }
コード例 #3
0
ファイル: AddonKey.php プロジェクト: kingsj/core
 /**
  * Return list of targets allowed for this widget
  *
  * @return array
  */
 public static function getAllowedTargets()
 {
     $result = parent::getAllowedTargets();
     $result[] = 'module_key';
     return $result;
 }
コード例 #4
0
ファイル: Install.php プロジェクト: kingsj/core
 /**
  * Return list of targets allowed for this widget
  *
  * @return array
  */
 public static function getAllowedTargets()
 {
     $result = parent::getAllowedTargets();
     $result[] = 'addons_list_marketplace';
     return $result;
 }
コード例 #5
0
ファイル: TrialNotice.php プロジェクト: kirkbauer2/kirkxc
 /**
  * The allowed targets for the trial notice is defined
  * in the static::getAllowedTargetsTrialNotice() method
  *
  * @see static::getAllowedTargetsTrialNotice()
  *
  * @return array
  */
 public static function getAllowedTargets()
 {
     return array_merge(parent::getAllowedTargets(), static::getAllowedTargetsTrialNotice());
 }
コード例 #6
0
ファイル: ModuleWarnings.php プロジェクト: kirkbauer2/kirkxc
 /**
  * Return list of targets allowed for this widget
  *
  * @return array
  */
 public static function getAllowedTargets()
 {
     $result = parent::getAllowedTargets();
     $result[] = self::MODULE_LICENSE_TARGET;
     return $result;
 }