Prado\Web\UI\WebControls\TImageButton::loadPostData PHP Метод

loadPostData() публичный Метод

This method is primarly used by framework developers.
public loadPostData ( $key, $values ) : boolean
Результат boolean whether the data of the component has been changed
    public function loadPostData($key, $values)
    {
        $uid = $this->getUniqueID();
        if (isset($values["{$uid}_x"]) && isset($values["{$uid}_y"])) {
            $this->_x = intval($values["{$uid}_x"]);
            $this->_y = intval($values["{$uid}_y"]);
            if ($this->getPage()->getPostBackEventTarget() === null) {
                $this->getPage()->setPostBackEventTarget($this);
            }
            $this->_dataChanged = true;
        }
        return false;
    }