Exemple #1
0
 /**
  * Return list of targets allowed for this widget
  *
  * @return array
  */
 public static function getAllowedTargets()
 {
     $result = parent::getAllowedTargets();
     $result[] = 'main';
     $result[] = 'category';
     return $result;
 }
Exemple #2
0
 /**
  * Return list of targets allowed for this widget
  *
  * @return array
  */
 public static function getAllowedTargets()
 {
     $result = parent::getAllowedTargets();
     $result[] = self::WIDGET_TARGET;
     return $result;
 }
Exemple #3
0
 /**
  * Return list of targets allowed for this widget
  *
  * @return array
  */
 public static function getAllowedTargets()
 {
     $result = parent::getAllowedTargets();
     $result[] = static::getWidgetTarget();
     return $result;
 }
Exemple #4
0
 /**
  * Return list of targets allowed for this widget
  *
  * @return array
  */
 public static function getAllowedTargets()
 {
     $result = parent::getAllowedTargets();
     $result[] = 'add2_cart_popup';
     return $result;
 }