install/Form.php
public function signalReceived($signal)
    {
        if ($signal === 'submit') {
            if (!$this->getPresenter()->getRequest()->hasFlag(Nette\Application\Request::RESTORED)) {
                $this->fireEvents();
            }
        } else {
            $class = get_class($this);
            throw new BadSignalException("Missing handler for signal '$signal' in $class.");
        }
    }
public function signalReceived($signal)
    {
        if ($signal === 'submit') {
            if (!$this->getPresenter()->getRequest()->hasFlag(Nette\Application\Request::RESTORED)) {
                $this->fireEvents();
            }
        } else {
            $class = get_class($this);
            throw new BadSignalException("Missing handler for signal '$signal' in $class.");
        }
    }
public function signalReceived ( $ signal ) { if ( $ signal === 'submit' ) { if ( ! $ this -> getPresenter ( ) -> getRequest ( ) -> hasFlag ( Nette \ Application \ Request :: RESTORED ) ) { $ this -> fireEvents ( ) ; } } else { $ class = get_class ( $ this ) ; throw new BadSignalException ( "Missing handler for signal '$signal' in $class." ) ; } }
This method is called by presenter.
@param  string
@return void
This method is called by presenter .