/** * 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 (!empty($params[static::PARAM_ALL])) { $this->onlyEnabled = false; } parent::__construct($params); }