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

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

This method is required by {@link IPostBackEventHandler} interface. If {@link getCausesValidation CausesValidation} is true, it will invoke the page's {@link TPage::validate validate} method first. It will raise {@link onClick OnClick} and {@link onCommand OnCommand} events. This method is mainly used by framework and control developers.
public raisePostBackEvent ( $param )
    public function raisePostBackEvent($param)
    {
        if ($this->getCausesValidation()) {
            $this->getPage()->validate($this->getValidationGroup());
        }
        $this->onClick(new TImageClickEventParameter($this->_x, $this->_y));
        $this->onCommand(new \Prado\Web\UI\TCommandEventParameter($this->getCommandName(), $this->getCommandParameter()));
    }