function run() { $this->_page =& PageFactory::factory($_GET[APPLICATION_PAGE_VAR_NAME]); $this->_updateMeStatic(); if (!PEAR::isError($this->_page)) { if (is_object($this->_page) && is_a($this->_page, 'page')) { $this->_page->load(); $this->_page->process(); $this->_page->display(); $this->_page->unload(); } } else { print $this->_page->getMessage(); } }