protected function postConstructor() { parent::postConstructor(); // This must be called here (not in checkOptions()) to avoid // buildActionUri() call before application instantiation isset($this->fatal_uri) || ($this->fatal_uri = TIP::buildActionUri($this->id, 'fatal')); $this->keys['TITLE'] =& $this->title; $this->keys['DESCRIPTION'] =& $this->description; $this->keys['KEYWORDS'] =& $this->keywords; $this->keys['ROOT'] = TIP::getRoot(); $this->keys['HOME'] = TIP::getHome(); $this->keys['REFERER'] = ''; // Set $_request $module = TIP::getGet('module', 'string'); $action = TIP::getGet('action', 'string'); if (!$action) { $module = TIP::getPost('module', 'string'); $action = TIP::getPost('action', 'string'); } $this->_request = array('uri' => @$_SERVER['REQUEST_URI'], 'module' => @strtolower($module), 'action' => @strtolower($action), 'id' => TIP::getGetOrPost('id', 'string')); $this->keys['REQUEST'] = $this->_request['uri']; $this->keys['MODULE'] = $this->_request['module']; $this->keys['ACTION'] = $this->_request['action']; // The ID global key will be assigned when the requested module // is loaded, so a type casting can be forced (because the id_type // of the module is known) $this->keys['ID'] = ''; // Start the session TIP_AHAH || $this->_startSession(); }