Prado\Web\UI\TPage::run PHP Метод

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

Runs through the page lifecycles.
public run ( $writer )
    public function run($writer)
    {
        Prado::trace("Running page life cycles", 'Prado\\Web\\UI\\TPage');
        $this->_writer = $writer;
        $this->determinePostBackMode();
        if ($this->getIsPostBack()) {
            if ($this->getIsCallback()) {
                $this->processCallbackRequest($writer);
            } else {
                $this->processPostBackRequest($writer);
            }
        } else {
            $this->processNormalRequest($writer);
        }
        $this->_writer = null;
    }