/** * Define widget params * * @return void */ protected function defineWidgetParams() { parent::defineWidgetParams(); $this->widgetParams += array(self::PARAM_USE_CODE_AS_KEY => new \XLite\Model\WidgetParam\Bool('Use currency codes as keys', false)); }
/** * Define widget params * * @return void */ protected function defineWidgetParams() { parent::defineWidgetParams(); $this->widgetParams += array(self::PARAM_ORDER => new \XLite\Model\WidgetParam\Object('Order', null, false, '\\XLite\\Model\\Order'), self::PARAM_ALL_OPTION => new \XLite\Model\WidgetParam\Bool('Show "All status" option', false, false)); }
/** * Define widget parameters * * @return void */ protected function defineWidgetParams() { parent::defineWidgetParams(); $this->widgetParams += array(static::PARAM_ALL => new \XLite\Model\WidgetParam\Bool('All', false), static::PARAM_STATE_SELECTOR_ID => new \XLite\Model\WidgetParam\String('State select ID', null), static::PARAM_STATE_INPUT_ID => new \XLite\Model\WidgetParam\String('State input ID', null), static::PARAM_SELECT_ONE => new \XLite\Model\WidgetParam\Bool('All', true), static::PARAM_SELECT_ONE_LABEL => new \XLite\Model\WidgetParam\String('Select one label', $this->getDefaultSelectOneLabel())); }
/** * Define widget params * * @return void */ protected function defineWidgetParams() { parent::defineWidgetParams(); $this->widgetParams += array(static::PARAM_USED_ZONES => new \XLite\Model\WidgetParam\Collection('Used zones', array(), false)); }
/** * Define widget params * * @return void */ protected function defineWidgetParams() { parent::defineWidgetParams(); $this->widgetParams += array(static::PARAM_DISABLE_SEARCH => new \XLite\Model\WidgetParam\Bool('Disable search flag', $this->getDefaultDisableSearch(), false)); }
/** * Define widget params * * @return void */ protected function defineWidgetParams() { parent::defineWidgetParams(); $this->widgetParams += array(self::PARAM_ORDER => new \XLite\Model\WidgetParam\String('Order', '')); }
/** * Define widget params * * @return void */ protected function defineWidgetParams() { parent::defineWidgetParams(); $this->widgetParams += array(static::PARAM_ALL_OPTION => new \XLite\Model\WidgetParam\Bool('Show "All statuses" option', false, false)); }
/** * Define widget params * * @return void */ protected function defineWidgetParams() { parent::defineWidgetParams(); $this->widgetParams += array(self::PARAM_AVAILABLE_TYPES => new \XLite\Model\WidgetParam\Collection('Available types', array(), false)); }
/** * Define widget params * * @return void */ protected function defineWidgetParams() { parent::defineWidgetParams(); $this->widgetParams += array(static::PARAM_SHOW_ANY_OPTION => new \XLite\Model\WidgetParam\Bool('Display \'Any profile\' option', false)); }
/** * Define widget params * * @return void */ protected function defineWidgetParams() { parent::defineWidgetParams(); $this->widgetParams += array(self::PARAM_ORDER_ID => new \XLite\Model\WidgetParam\Int('Order ID', null, false), self::PARAM_ALL_OPTION => new \XLite\Model\WidgetParam\Bool('Show "All" option', false, false)); }
/** * Define widget parameters * * @return void */ protected function defineWidgetParams() { parent::defineWidgetParams(); $this->widgetParams += array(self::PARAM_ALL => new \XLite\Model\WidgetParam\Bool('All', false), self::PARAM_STATE_SELECTOR_ID => new \XLite\Model\WidgetParam\String('State select ID', null), self::PARAM_STATE_INPUT_ID => new \XLite\Model\WidgetParam\String('State input ID', null)); }
/** * Define widget params * * @return void */ protected function defineWidgetParams() { parent::defineWidgetParams(); $this->widgetParams += array(self::PARAM_COUNTRY => new \XLite\Model\WidgetParam\String('Country', '')); }
/** * Define widget params * * @return void */ protected function defineWidgetParams() { parent::defineWidgetParams(); $this->widgetParams += array(self::PARAM_ATTRIBUTE => new \XLite\Model\WidgetParam\Object('Attribute', null, false, 'XLite\\Model\\Attribute'), self::PARAM_PRODUCT => new \XLite\Model\WidgetParam\Object('Product', null, false, 'XLite\\Model\\Product')); }
/** * Define widget params * * @return void */ protected function defineWidgetParams() { parent::defineWidgetParams(); $this->widgetParams += array(static::PARAM_E => new \XLite\Model\WidgetParam\Int('Exp part', 2)); }
/** * Define widget params * * @return void */ protected function defineWidgetParams() { parent::defineWidgetParams(); $this->widgetParams += array(static::PARAM_IS_MANDATORY => new \XLite\Model\WidgetParam\Bool('Is mandatory', false, false), static::PARAM_ALLOWED_OPTIONS => new \XLite\Model\WidgetParam\Collection('Allowed options', null)); }