wbraganca\dynamicform\DynamicFormWidget::hashOptions PHP Method

hashOptions() protected method

Generates a hashed variable to store the options.
protected hashOptions ( )
    protected function hashOptions()
    {
        $this->_encodedOptions = Json::encode($this->_options);
        $this->_hashVar = self::WIDGET_NAME . '_' . hash('crc32', $this->_encodedOptions);
    }