protected function hashOptions() { $this->_encodedOptions = Json::encode($this->_options); $this->_hashVar = self::WIDGET_NAME . '_' . hash('crc32', $this->_encodedOptions); }