Esempio n. 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;
 }
Esempio n. 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;
 }
Esempio n. 3
0
 /**
  * Return list of targets allowed for this widget
  *
  * @return array
  */
 public static function getAllowedTargets()
 {
     $result = parent::getAllowedTargets();
     $result[] = 'module_key';
     return $result;
 }
Esempio n. 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;
 }
Esempio n. 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());
 }
Esempio n. 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;
 }