Ejemplo n.º 1
0
 /**
  * Save current form reference and sections list, and initialize the cache
  *
  * @param array $params Widget params OPTIONAL
  *
  * @return void
  */
 public function __construct(array $params = array())
 {
     if (!isset($params[static::PARAM_COMMENT]) || !$params[static::PARAM_COMMENT]) {
         $params[static::PARAM_COMMENT] = 'e.g. +4.05, -10%';
     }
     parent::__construct($params);
 }