Example #1
0
 /**
  * Define widget parameters
  *
  * @return void
  */
 protected function defineWidgetParams()
 {
     parent::defineWidgetParams();
     $this->widgetParams += array(self::PARAM_CONFIRM_TEXT => new \XLite\Model\WidgetParam\String('Confirm text', 'Are you sure?'));
 }
Example #2
0
 /**
  * Define widget parameters
  *
  * @return void
  */
 protected function defineWidgetParams()
 {
     parent::defineWidgetParams();
     $this->widgetParams += array(self::PARAM_CONFIRMATION => new \XLite\Model\WidgetParam\String('Confirmation text', $this->getDefaultConfirmationText(), true));
 }
Example #3
0
 /**
  * Define widget parameters
  *
  * @return void
  */
 protected function defineWidgetParams()
 {
     parent::defineWidgetParams();
     $this->widgetParams += array(self::PARAM_PAGE => new \XLite\Model\WidgetParam\Int('Page index', 1));
 }
Example #4
0
 /**
  * Define widget params
  *
  * @return void
  */
 protected function defineWidgetParams()
 {
     parent::defineWidgetParams();
     $this->widgetParams += array(self::PARAM_ADDRESS_ID => new \XLite\Model\WidgetParam\Int('Address ID', 0));
 }
Example #5
0
 /**
  * Define widget parameters
  *
  * @return void
  */
 protected function defineWidgetParams()
 {
     parent::defineWidgetParams();
     $this->widgetParams += array(self::PARAM_PRODUCT => new \XLite\Model\WidgetParam\Object('Product', null, false, '\\XLite\\Model\\Product'));
 }
Example #6
0
 /**
  * Define widget parameters
  *
  * @return void
  */
 protected function defineWidgetParams()
 {
     parent::defineWidgetParams();
     $this->widgetParams += array(static::PARAM_BUTTON_TOOLTIP => new \XLite\Model\WidgetParam\String('Button tooltip', ''), static::PARAM_SEPARATE_TOOLTIP => new \XLite\Model\WidgetParam\String('Separate tooltip', ''));
 }
Example #7
0
 /**
  * Define widget parameters
  *
  * @return void
  */
 protected function defineWidgetParams()
 {
     parent::defineWidgetParams();
     $this->widgetParams += array(self::PARAM_PARCEL_ID => new \XLite\Model\WidgetParam\String('Parcel id', ''), self::PARAM_ORDER_NUMBER => new \XLite\Model\WidgetParam\String('Order number', ''));
 }
Example #8
0
 /**
  * Define widget parameters
  *
  * @return void
  */
 protected function defineWidgetParams()
 {
     parent::defineWidgetParams();
     $this->widgetParams += array(self::PARAM_LANGUAGE => new \XLite\Model\WidgetParam\String('Language code', null), self::PARAM_PAGE => new \XLite\Model\WidgetParam\Int('Page index', 1));
 }
Example #9
0
 /**
  * Define widget parameters
  *
  * @return void
  */
 protected function defineWidgetParams()
 {
     parent::defineWidgetParams();
     $this->widgetParams += array(self::PARAM_ENABLED => new \XLite\Model\WidgetParam\Bool('Enabled', true));
 }