Exemple #1
0
 /**
  * Return list of targets allowed for this widget
  *
  * @return array
  */
 public static function getAllowedTargets()
 {
     $result = parent::getAllowedTargets();
     $result[] = self::UPLOAD_ADDONS_TARGET;
     return $result;
 }
Exemple #2
0
 /**
  * Return list of targets allowed for this widget
  *
  * @return array
  */
 public static function getAllowedTargets()
 {
     $result = parent::getAllowedTargets();
     $result[] = 'addons_list_installed';
     return $result;
 }
Exemple #3
0
 /**
  * Return list of targets allowed for this widget
  *
  * @return array
  */
 public static function getAllowedTargets()
 {
     $result = parent::getAllowedTargets();
     $result[] = 'module_key';
     return $result;
 }
Exemple #4
0
 /**
  * Return list of targets allowed for this widget
  *
  * @return array
  */
 public static function getAllowedTargets()
 {
     $result = parent::getAllowedTargets();
     $result[] = 'addons_list_marketplace';
     return $result;
 }
Exemple #5
0
 /**
  * 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());
 }
Exemple #6
0
 /**
  * Return list of targets allowed for this widget
  *
  * @return array
  */
 public static function getAllowedTargets()
 {
     $result = parent::getAllowedTargets();
     $result[] = self::MODULE_LICENSE_TARGET;
     return $result;
 }