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