Beispiel #1
0
 /**
  * Define widget params
  *
  * @return void
  */
 protected function defineWidgetParams()
 {
     parent::defineWidgetParams();
     $this->widgetParams += array(static::PARAM_GROUP_NAME => new \XLite\Model\WidgetParam\String('Group name', $this->getDefaultName()), static::PARAM_SELECTED => new \XLite\Model\WidgetParam\Bool('Selected', false));
 }
Beispiel #2
0
 /**
  * Define widget parameters
  *
  * @return void
  */
 protected function defineWidgetParams()
 {
     parent::defineWidgetParams();
     $this->widgetParams += array(self::PARAM_SHIP_AS_BILL_CHECKBOX => new \XLite\Model\WidgetParam\Object('"Ship as bill" checkbox', null, false, '\\XLite\\View\\FormField\\Input\\Checkbox\\ShipAsBill'));
 }