Esempio n. 1
0
 /**
  * Define widget params
  *
  * @return void
  */
 protected function defineWidgetParams()
 {
     parent::defineWidgetParams();
     $this->widgetParams += array(static::PARAM_PARENT_PRODUCT_ID => new \XLite\Model\WidgetParam\String('Parent product id, if it is provided', ''));
 }
Esempio n. 2
0
 /**
  * Define widget params
  *
  * @return void
  */
 protected function defineWidgetParams()
 {
     parent::defineWidgetParams();
     $this->widgetParams += array(static::PARAM_CATEGORY_ID => new \XLite\Model\WidgetParam\String('Category id, if it is provided', ''));
 }