/** * Define widget params * * @return void */ protected function defineWidgetParams() { parent::defineWidgetParams(); $this->widgetParams += array(static::PARAM_DISPLAY_ANY_CATEGORY => new \XLite\Model\WidgetParam\Bool('Display \'Any category\' row', false), static::PARAM_EXCLUDE_CATEGORY => new \XLite\Model\WidgetParam\Int('Excluded category ID', null), static::PARAM_DISPLAY_ROOT_CATEGORY => new \XLite\Model\WidgetParam\Bool('Display root category', false)); }