예제 #1
0
 /**
  * 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));
 }
예제 #2
0
 /**
  * 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));
 }
예제 #3
0
 /**
  * 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()));
 }
예제 #4
0
 /**
  * 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));
 }
예제 #5
0
파일: Rich.php 프로젝트: kirkbauer2/kirkxc
 /**
  * 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));
 }
예제 #6
0
 /**
  * Define widget params
  *
  * @return void
  */
 protected function defineWidgetParams()
 {
     parent::defineWidgetParams();
     $this->widgetParams += array(self::PARAM_ORDER => new \XLite\Model\WidgetParam\String('Order', ''));
 }
예제 #7
0
 /**
  * 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));
 }
예제 #8
0
 /**
  * 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));
 }
예제 #9
0
 /**
  * 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));
 }
예제 #10
0
파일: OrderStatus.php 프로젝트: kingsj/core
 /**
  * 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));
 }
예제 #11
0
파일: Country.php 프로젝트: kingsj/core
 /**
  * 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));
 }
예제 #12
0
파일: State.php 프로젝트: kirkbauer2/kirkxc
 /**
  * Define widget params
  *
  * @return void
  */
 protected function defineWidgetParams()
 {
     parent::defineWidgetParams();
     $this->widgetParams += array(self::PARAM_COUNTRY => new \XLite\Model\WidgetParam\String('Country', ''));
 }
예제 #13
0
 /**
  * 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'));
 }
예제 #14
0
 /**
  * Define widget params
  *
  * @return void
  */
 protected function defineWidgetParams()
 {
     parent::defineWidgetParams();
     $this->widgetParams += array(static::PARAM_E => new \XLite\Model\WidgetParam\Int('Exp part', 2));
 }
예제 #15
0
 /**
  * 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));
 }