Prado\Web\UI\WebControls\THiddenField::loadPostData PHP Method

loadPostData() public method

This method is primarly used by framework developers.
public loadPostData ( $key, $values ) : boolean
return boolean whether the data of the component has been changed
    public function loadPostData($key, $values)
    {
        $value = $values[$key];
        if ($value === $this->getValue()) {
            return false;
        } else {
            $this->setValue($value);
            return $this->_dataChanged = true;
        }
    }