/** * Save current form reference and sections list, and initialize the cache * * @param array $params Widget params OPTIONAL */ public function __construct(array $params = array()) { if (isset($params[self::PARAM_NAME])) { $this->name = $params[self::PARAM_NAME]; } parent::__construct($params); }
/** * __construct * * @param array $params Widget params OPTIONAL * @param string $contentTemplate Central area template OPTIONAL * * @return void */ public function __construct(array $params = array(), $contentTemplate = null) { parent::__construct($params); $this->template = $contentTemplate; }