示例#1
0
 protected function defineWidgetParams()
 {
     parent::defineWidgetParams();
     $this->widgetParams[static::PARAM_E]->setValue(1);
     $this->widgetParams[static::PARAM_MIN]->setValue(0);
     $this->widgetParams[static::PARAM_MAX]->setValue(999);
 }
示例#2
0
文件: Symbol.php 项目: kingsj/core
 /**
  * Define widget params
  *
  * @return void
  */
 protected function defineWidgetParams()
 {
     parent::defineWidgetParams();
     $this->widgetParams += array(static::PARAM_SYMBOL => new \XLite\Model\WidgetParam\String('Symbol', ''));
 }
示例#3
0
 /**
  * Define widget params
  *
  * @return void
  */
 protected function defineWidgetParams()
 {
     parent::defineWidgetParams();
     $this->widgetParams[self::PARAM_MIN]->setValue(0);
 }