_template = 'documentation.tpl'; } /* Display the index page. */ public function index() { $document = $_GET['d']; global $Smarty; $documents = DocumentationModel::getAllDocuments(); return $this->renderPage( array( 'title' => $Smarty->_config[0]['vars']['documentationTitle'], 'content_title' => $Smarty->_config[0]['vars']['documentationContentTitle'], 'documents' => $documents, ), $this->_template ); } } ?>