/** * Sets some app-specific variables and calls parent::renderLayout * * This method auto-loads the nterchange navigation * * @see NController::renderLayout, NView::renderLayout * @access public * @return null */ function renderLayout($layout, $main_content, $sidebar_content = null, $return = false) { $this->set('navigation', nterchangeController::navigation($this->name)); if (isset($this->_auth) && is_object($this->_auth)) { $this->set('login_name', $this->_auth->getAuthData('real_name')); } $this->set('nterchange_version', NTERCHANGE_VERSION); return parent::renderLayout($layout, $main_content, $sidebar_content, $return); }