questlab/doc/classes/hhu.z.Controller.html

1870 lines
141 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
<meta charset="utf-8"/>
<title>Questlab</title>
<meta name="author" content=""/>
<meta name="description" content=""/>
<link href="../css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
<link href="../css/font-awesome.min.css" rel="stylesheet">
<link href="../css/prism.css" rel="stylesheet" media="all"/>
<link href="../css/template.css" rel="stylesheet" media="all"/>
<!--[if lt IE 9]>
<script src="../js/html5.js"></script>
<![endif]-->
<script src="../js/jquery-1.11.0.min.js"></script>
<script src="../js/ui/1.10.4/jquery-ui.min.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="../js/jquery.smooth-scroll.js"></script>
<script src="../js/prism.min.js"></script>
<!-- TODO: Add http://jscrollpane.kelvinluck.com/ to style the scrollbars for browsers not using webkit-->
<script type="text/javascript">
function loadExternalCodeSnippets() {
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) {
var src = pre.getAttribute('data-src');
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
var language = 'php';
var code = document.createElement('code');
code.className = 'language-' + language;
pre.textContent = '';
code.textContent = 'Loading…';
pre.appendChild(code);
var xhr = new XMLHttpRequest();
xhr.open('GET', src, true);
xhr.onreadystatechange = function () {
if (xhr.readyState == 4) {
if (xhr.status < 400 && xhr.responseText) {
code.textContent = xhr.responseText;
Prism.highlightElement(code);
}
else if (xhr.status >= 400) {
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
}
else {
code.textContent = '✖ Error: File does not exist or is empty';
}
}
};
xhr.send(null);
});
}
$(document).ready(function(){
loadExternalCodeSnippets();
});
$('#source-view').on('shown', function () {
loadExternalCodeSnippets();
})
</script>
<link rel="shortcut icon" href="../images/favicon.ico"/>
<link rel="apple-touch-icon" href="../images/apple-touch-icon.png"/>
<link rel="apple-touch-icon" sizes="72x72" href="../images/apple-touch-icon-72x72.png"/>
<link rel="apple-touch-icon" sizes="114x114" href="../images/apple-touch-icon-114x114.png"/>
</head>
<body>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<i class="icon-ellipsis-vertical"></i>
</a>
<a class="brand" href="../index.html">Questlab</a>
<div class="nav-collapse">
<ul class="nav pull-right">
<li class="dropdown">
<a href="../index.html" class="dropdown-toggle" data-toggle="dropdown">
API Documentation <b class="caret"></b>
</a>
<ul class="dropdown-menu">
<li><a href="../namespaces/hhu.html">\hhu</a></li>
<li><a href="../namespaces/nre.html">\nre</a></li>
</ul>
</li>
<li class="dropdown" id="charts-menu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
Charts <b class="caret"></b>
</a>
<ul class="dropdown-menu">
<li>
<a href="../graphs/class.html">
<i class="icon-list-alt"></i>&#160;Class hierarchy diagram
</a>
</li>
</ul>
</li>
<li class="dropdown" id="reports-menu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
Reports <b class="caret"></b>
</a>
<ul class="dropdown-menu">
<li>
<a href="../reports/errors.html">
<i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">1</span>
</a>
</li>
<li>
<a href="../reports/markers.html">
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">5</span>
</a>
</li>
<li>
<a href="../reports/deprecated.html">
<i class="icon-list-alt"></i>&#160;Deprecated <span class="label label-info pull-right">6</span>
</a>
</li>
</ul>
</li>
</ul>
</div>
</div>
</div>
<!--<div class="go_to_top">-->
<!--<a href="#___" style="color: inherit">Back to top&#160;&#160;<i class="icon-upload icon-white"></i></a>-->
<!--</div>-->
</div>
<div id="___" class="container-fluid">
<section class="row-fluid">
<div class="span2 sidebar">
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1647194912"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div>
<div id="namespace-1647194912" class="accordion-body collapse in">
<div class="accordion-inner">
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle collapsed" data-toggle="collapse" data-target="#namespace-2068127643"></a>
<a href="../namespaces/hhu.html" style="margin-left: 30px; padding-left: 0">hhu</a>
</div>
<div id="namespace-2068127643" class="accordion-body collapse ">
<div class="accordion-inner">
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle collapsed" data-toggle="collapse" data-target="#namespace-1242748200"></a>
<a href="../namespaces/hhu.z.html" style="margin-left: 30px; padding-left: 0">z</a>
</div>
<div id="namespace-1242748200" class="accordion-body collapse ">
<div class="accordion-inner">
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle collapsed" data-toggle="collapse" data-target="#namespace-1430708646"></a>
<a href="../namespaces/hhu.z.agents.html" style="margin-left: 30px; padding-left: 0">agents</a>
</div>
<div id="namespace-1430708646" class="accordion-body collapse ">
<div class="accordion-inner">
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle collapsed" data-toggle="collapse" data-target="#namespace-475142867"></a>
<a href="../namespaces/hhu.z.agents.bottomlevel.html" style="margin-left: 30px; padding-left: 0">bottomlevel</a>
</div>
<div id="namespace-475142867" class="accordion-body collapse ">
<div class="accordion-inner">
<ul>
<li class="class"><a href="../classes/hhu.z.agents.bottomlevel.MailreceiverAgent.html">MailreceiverAgent</a></li>
<li class="class"><a href="../classes/hhu.z.agents.bottomlevel.MenuAgent.html">MenuAgent</a></li>
<li class="class"><a href="../classes/hhu.z.agents.bottomlevel.QuestgroupshierarchypathAgent.html">QuestgroupshierarchypathAgent</a></li>
<li class="class"><a href="../classes/hhu.z.agents.bottomlevel.SeminarybarAgent.html">SeminarybarAgent</a></li>
<li class="class"><a href="../classes/hhu.z.agents.bottomlevel.SeminarymenuAgent.html">SeminarymenuAgent</a></li>
<li class="class"><a href="../classes/hhu.z.agents.bottomlevel.UserrolesAgent.html">UserrolesAgent</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle collapsed" data-toggle="collapse" data-target="#namespace-1660762202"></a>
<a href="../namespaces/hhu.z.agents.intermediate.html" style="margin-left: 30px; padding-left: 0">intermediate</a>
</div>
<div id="namespace-1660762202" class="accordion-body collapse ">
<div class="accordion-inner">
<ul>
<li class="class"><a href="../classes/hhu.z.agents.intermediate.AchievementsAgent.html">AchievementsAgent</a></li>
<li class="class"><a href="../classes/hhu.z.agents.intermediate.CharactergroupsAgent.html">CharactergroupsAgent</a></li>
<li class="class"><a href="../classes/hhu.z.agents.intermediate.CharactergroupsquestsAgent.html">CharactergroupsquestsAgent</a></li>
<li class="class"><a href="../classes/hhu.z.agents.intermediate.CharactersAgent.html">CharactersAgent</a></li>
<li class="class"><a href="../classes/hhu.z.agents.intermediate.CharactertypesAgent.html">CharactertypesAgent</a></li>
<li class="class"><a href="../classes/hhu.z.agents.intermediate.ErrorAgent.html">ErrorAgent</a></li>
<li class="class"><a href="../classes/hhu.z.agents.intermediate.IntroductionAgent.html">IntroductionAgent</a></li>
<li class="class"><a href="../classes/hhu.z.agents.intermediate.LibraryAgent.html">LibraryAgent</a></li>
<li class="class"><a href="../classes/hhu.z.agents.intermediate.MailAgent.html">MailAgent</a></li>
<li class="class"><a href="../classes/hhu.z.agents.intermediate.MediaAgent.html">MediaAgent</a></li>
<li class="class"><a href="../classes/hhu.z.agents.intermediate.QuestgroupsAgent.html">QuestgroupsAgent</a></li>
<li class="class"><a href="../classes/hhu.z.agents.intermediate.QuestgroupshierarchyAgent.html">QuestgroupshierarchyAgent</a></li>
<li class="class"><a href="../classes/hhu.z.agents.intermediate.QuestsAgent.html">QuestsAgent</a></li>
<li class="class"><a href="../classes/hhu.z.agents.intermediate.SeminariesAgent.html">SeminariesAgent</a></li>
<li class="class"><a href="../classes/hhu.z.agents.intermediate.UploadsAgent.html">UploadsAgent</a></li>
<li class="class"><a href="../classes/hhu.z.agents.intermediate.UsersAgent.html">UsersAgent</a></li>
<li class="class"><a href="../classes/hhu.z.agents.intermediate.XplevelsAgent.html">XplevelsAgent</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle collapsed" data-toggle="collapse" data-target="#namespace-216451612"></a>
<a href="../namespaces/hhu.z.agents.toplevel.html" style="margin-left: 30px; padding-left: 0">toplevel</a>
</div>
<div id="namespace-216451612" class="accordion-body collapse ">
<div class="accordion-inner">
<ul>
<li class="class"><a href="../classes/hhu.z.agents.toplevel.AjaxAgent.html">AjaxAgent</a></li>
<li class="class"><a href="../classes/hhu.z.agents.toplevel.BinaryAgent.html">BinaryAgent</a></li>
<li class="class"><a href="../classes/hhu.z.agents.toplevel.FaultAgent.html">FaultAgent</a></li>
<li class="class"><a href="../classes/hhu.z.agents.toplevel.HtmlAgent.html">HtmlAgent</a></li>
<li class="class"><a href="../classes/hhu.z.agents.toplevel.HtmlmailAgent.html">HtmlmailAgent</a></li>
<li class="class"><a href="../classes/hhu.z.agents.toplevel.TextmailAgent.html">TextmailAgent</a></li>
</ul>
</div>
</div>
</div>
</div>
<ul>
<li class="class"><a href="../classes/hhu.z.agents.QuesttypeAgent.html">QuesttypeAgent</a></li>
<li class="class"><a href="../classes/hhu.z.agents.ToplevelAgent.html">ToplevelAgent</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle collapsed" data-toggle="collapse" data-target="#namespace-2046367038"></a>
<a href="../namespaces/hhu.z.apis.html" style="margin-left: 30px; padding-left: 0">apis</a>
</div>
<div id="namespace-2046367038" class="accordion-body collapse ">
<div class="accordion-inner">
<ul>
<li class="class"><a href="../classes/hhu.z.apis.MailApi.html">MailApi</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle collapsed" data-toggle="collapse" data-target="#namespace-1571852037"></a>
<a href="../namespaces/hhu.z.controllers.html" style="margin-left: 30px; padding-left: 0">controllers</a>
</div>
<div id="namespace-1571852037" class="accordion-body collapse ">
<div class="accordion-inner">
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle collapsed" data-toggle="collapse" data-target="#namespace-66581765"></a>
<a href="../namespaces/hhu.z.controllers.components.html" style="margin-left: 30px; padding-left: 0">components</a>
</div>
<div id="namespace-66581765" class="accordion-body collapse ">
<div class="accordion-inner">
<ul>
<li class="class"><a href="../classes/hhu.z.controllers.components.AchievementComponent.html">AchievementComponent</a></li>
<li class="class"><a href="../classes/hhu.z.controllers.components.AuthComponent.html">AuthComponent</a></li>
<li class="class"><a href="../classes/hhu.z.controllers.components.NotificationComponent.html">NotificationComponent</a></li>
<li class="class"><a href="../classes/hhu.z.controllers.components.ValidationComponent.html">ValidationComponent</a></li>
</ul>
</div>
</div>
</div>
</div>
<ul>
<li class="class"><a href="../classes/hhu.z.controllers.AchievementsController.html">AchievementsController</a></li>
<li class="class"><a href="../classes/hhu.z.controllers.AjaxController.html">AjaxController</a></li>
<li class="class"><a href="../classes/hhu.z.controllers.BinaryController.html">BinaryController</a></li>
<li class="class"><a href="../classes/hhu.z.controllers.CharactergroupsController.html">CharactergroupsController</a></li>
<li class="class"><a href="../classes/hhu.z.controllers.CharactergroupsquestsController.html">CharactergroupsquestsController</a></li>
<li class="class"><a href="../classes/hhu.z.controllers.CharactersController.html">CharactersController</a></li>
<li class="class"><a href="../classes/hhu.z.controllers.CharactertypesController.html">CharactertypesController</a></li>
<li class="class"><a href="../classes/hhu.z.controllers.ErrorController.html">ErrorController</a></li>
<li class="class"><a href="../classes/hhu.z.controllers.FaultController.html">FaultController</a></li>
<li class="class"><a href="../classes/hhu.z.controllers.HtmlController.html">HtmlController</a></li>
<li class="class"><a href="../classes/hhu.z.controllers.HtmlmailController.html">HtmlmailController</a></li>
<li class="class"><a href="../classes/hhu.z.controllers.IntermediateController.html">IntermediateController</a></li>
<li class="class"><a href="../classes/hhu.z.controllers.IntroductionController.html">IntroductionController</a></li>
<li class="class"><a href="../classes/hhu.z.controllers.LibraryController.html">LibraryController</a></li>
<li class="class"><a href="../classes/hhu.z.controllers.MailController.html">MailController</a></li>
<li class="class"><a href="../classes/hhu.z.controllers.MailreceiverController.html">MailreceiverController</a></li>
<li class="class"><a href="../classes/hhu.z.controllers.MediaController.html">MediaController</a></li>
<li class="class"><a href="../classes/hhu.z.controllers.MenuController.html">MenuController</a></li>
<li class="class"><a href="../classes/hhu.z.controllers.QuestgroupsController.html">QuestgroupsController</a></li>
<li class="class"><a href="../classes/hhu.z.controllers.QuestgroupshierarchyController.html">QuestgroupshierarchyController</a></li>
<li class="class"><a href="../classes/hhu.z.controllers.QuestgroupshierarchypathController.html">QuestgroupshierarchypathController</a></li>
<li class="class"><a href="../classes/hhu.z.controllers.QuestsController.html">QuestsController</a></li>
<li class="class"><a href="../classes/hhu.z.controllers.QuesttypeController.html">QuesttypeController</a></li>
<li class="class"><a href="../classes/hhu.z.controllers.SeminariesController.html">SeminariesController</a></li>
<li class="class"><a href="../classes/hhu.z.controllers.SeminarybarController.html">SeminarybarController</a></li>
<li class="class"><a href="../classes/hhu.z.controllers.SeminaryController.html">SeminaryController</a></li>
<li class="class"><a href="../classes/hhu.z.controllers.SeminarymenuController.html">SeminarymenuController</a></li>
<li class="class"><a href="../classes/hhu.z.controllers.TextmailController.html">TextmailController</a></li>
<li class="class"><a href="../classes/hhu.z.controllers.UploadsController.html">UploadsController</a></li>
<li class="class"><a href="../classes/hhu.z.controllers.UserrolesController.html">UserrolesController</a></li>
<li class="class"><a href="../classes/hhu.z.controllers.UsersController.html">UsersController</a></li>
<li class="class"><a href="../classes/hhu.z.controllers.XplevelsController.html">XplevelsController</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle collapsed" data-toggle="collapse" data-target="#namespace-185479062"></a>
<a href="../namespaces/hhu.z.exceptions.html" style="margin-left: 30px; padding-left: 0">exceptions</a>
</div>
<div id="namespace-185479062" class="accordion-body collapse ">
<div class="accordion-inner">
<ul>
<li class="class"><a href="../classes/hhu.z.exceptions.FileUploadException.html">FileUploadException</a></li>
<li class="class"><a href="../classes/hhu.z.exceptions.MailingException.html">MailingException</a></li>
<li class="class"><a href="../classes/hhu.z.exceptions.MaxFilesizeException.html">MaxFilesizeException</a></li>
<li class="class"><a href="../classes/hhu.z.exceptions.QuesttypeAgentNotFoundException.html">QuesttypeAgentNotFoundException</a></li>
<li class="class"><a href="../classes/hhu.z.exceptions.QuesttypeAgentNotValidException.html">QuesttypeAgentNotValidException</a></li>
<li class="class"><a href="../classes/hhu.z.exceptions.QuesttypeControllerNotFoundException.html">QuesttypeControllerNotFoundException</a></li>
<li class="class"><a href="../classes/hhu.z.exceptions.QuesttypeControllerNotValidException.html">QuesttypeControllerNotValidException</a></li>
<li class="class"><a href="../classes/hhu.z.exceptions.QuesttypeModelNotFoundException.html">QuesttypeModelNotFoundException</a></li>
<li class="class"><a href="../classes/hhu.z.exceptions.QuesttypeModelNotValidException.html">QuesttypeModelNotValidException</a></li>
<li class="class"><a href="../classes/hhu.z.exceptions.SubmissionNotValidException.html">SubmissionNotValidException</a></li>
<li class="class"><a href="../classes/hhu.z.exceptions.WrongFiletypeException.html">WrongFiletypeException</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle collapsed" data-toggle="collapse" data-target="#namespace-468883102"></a>
<a href="../namespaces/hhu.z.lib.html" style="margin-left: 30px; padding-left: 0">lib</a>
</div>
<div id="namespace-468883102" class="accordion-body collapse ">
<div class="accordion-inner">
<ul>
<li class="class"><a href="../classes/hhu.z.lib.Password.html">Password</a></li>
<li class="class"><a href="../classes/hhu.z.lib.PHPMailer.html">PHPMailer</a></li>
<li class="class"><a href="../classes/hhu.z.lib.PHPMailerAutoload.html">PHPMailerAutoload</a></li>
<li class="class"><a href="../classes/hhu.z.lib.SMTP.html">SMTP</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle collapsed" data-toggle="collapse" data-target="#namespace-1554030438"></a>
<a href="../namespaces/hhu.z.models.html" style="margin-left: 30px; padding-left: 0">models</a>
</div>
<div id="namespace-1554030438" class="accordion-body collapse ">
<div class="accordion-inner">
<ul>
<li class="class"><a href="../classes/hhu.z.models.AchievementsModel.html">AchievementsModel</a></li>
<li class="class"><a href="../classes/hhu.z.models.AvatarsModel.html">AvatarsModel</a></li>
<li class="class"><a href="../classes/hhu.z.models.CharactergroupsModel.html">CharactergroupsModel</a></li>
<li class="class"><a href="../classes/hhu.z.models.CharactergroupsquestsModel.html">CharactergroupsquestsModel</a></li>
<li class="class"><a href="../classes/hhu.z.models.CharacterrolesModel.html">CharacterrolesModel</a></li>
<li class="class"><a href="../classes/hhu.z.models.CharactersModel.html">CharactersModel</a></li>
<li class="class"><a href="../classes/hhu.z.models.CharactertypesModel.html">CharactertypesModel</a></li>
<li class="class"><a href="../classes/hhu.z.models.MediaModel.html">MediaModel</a></li>
<li class="class"><a href="../classes/hhu.z.models.QuestgroupshierarchyModel.html">QuestgroupshierarchyModel</a></li>
<li class="class"><a href="../classes/hhu.z.models.QuestgroupsModel.html">QuestgroupsModel</a></li>
<li class="class"><a href="../classes/hhu.z.models.QuestgrouptextsModel.html">QuestgrouptextsModel</a></li>
<li class="class"><a href="../classes/hhu.z.models.QuestsModel.html">QuestsModel</a></li>
<li class="class"><a href="../classes/hhu.z.models.QuesttextsModel.html">QuesttextsModel</a></li>
<li class="class"><a href="../classes/hhu.z.models.QuesttopicsModel.html">QuesttopicsModel</a></li>
<li class="class"><a href="../classes/hhu.z.models.QuesttypeModel.html">QuesttypeModel</a></li>
<li class="class"><a href="../classes/hhu.z.models.QuesttypesModel.html">QuesttypesModel</a></li>
<li class="class"><a href="../classes/hhu.z.models.SeminariesModel.html">SeminariesModel</a></li>
<li class="class"><a href="../classes/hhu.z.models.SeminarycharacterfieldsModel.html">SeminarycharacterfieldsModel</a></li>
<li class="class"><a href="../classes/hhu.z.models.UploadsModel.html">UploadsModel</a></li>
<li class="class"><a href="../classes/hhu.z.models.UserrolesModel.html">UserrolesModel</a></li>
<li class="class"><a href="../classes/hhu.z.models.UsersModel.html">UsersModel</a></li>
<li class="class"><a href="../classes/hhu.z.models.XplevelsModel.html">XplevelsModel</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle collapsed" data-toggle="collapse" data-target="#namespace-1549445036"></a>
<a href="../namespaces/hhu.z.questtypes.html" style="margin-left: 30px; padding-left: 0">questtypes</a>
</div>
<div id="namespace-1549445036" class="accordion-body collapse ">
<div class="accordion-inner">
<ul>
<li class="class"><a href="../classes/hhu.z.questtypes.BossfightQuesttypeAgent.html">BossfightQuesttypeAgent</a></li>
<li class="class"><a href="../classes/hhu.z.questtypes.BossfightQuesttypeController.html">BossfightQuesttypeController</a></li>
<li class="class"><a href="../classes/hhu.z.questtypes.BossfightQuesttypeModel.html">BossfightQuesttypeModel</a></li>
<li class="class"><a href="../classes/hhu.z.questtypes.ChoiceinputQuesttypeAgent.html">ChoiceinputQuesttypeAgent</a></li>
<li class="class"><a href="../classes/hhu.z.questtypes.ChoiceinputQuesttypeController.html">ChoiceinputQuesttypeController</a></li>
<li class="class"><a href="../classes/hhu.z.questtypes.ChoiceinputQuesttypeModel.html">ChoiceinputQuesttypeModel</a></li>
<li class="class"><a href="../classes/hhu.z.questtypes.CrosswordQuesttypeAgent.html">CrosswordQuesttypeAgent</a></li>
<li class="class"><a href="../classes/hhu.z.questtypes.CrosswordQuesttypeController.html">CrosswordQuesttypeController</a></li>
<li class="class"><a href="../classes/hhu.z.questtypes.CrosswordQuesttypeModel.html">CrosswordQuesttypeModel</a></li>
<li class="class"><a href="../classes/hhu.z.questtypes.DragndropQuesttypeAgent.html">DragndropQuesttypeAgent</a></li>
<li class="class"><a href="../classes/hhu.z.questtypes.DragndropQuesttypeController.html">DragndropQuesttypeController</a></li>
<li class="class"><a href="../classes/hhu.z.questtypes.DragndropQuesttypeModel.html">DragndropQuesttypeModel</a></li>
<li class="class"><a href="../classes/hhu.z.questtypes.MultiplechoiceQuesttypeAgent.html">MultiplechoiceQuesttypeAgent</a></li>
<li class="class"><a href="../classes/hhu.z.questtypes.MultiplechoiceQuesttypeController.html">MultiplechoiceQuesttypeController</a></li>
<li class="class"><a href="../classes/hhu.z.questtypes.MultiplechoiceQuesttypeModel.html">MultiplechoiceQuesttypeModel</a></li>
<li class="class"><a href="../classes/hhu.z.questtypes.SubmitQuesttypeAgent.html">SubmitQuesttypeAgent</a></li>
<li class="class"><a href="../classes/hhu.z.questtypes.SubmitQuesttypeController.html">SubmitQuesttypeController</a></li>
<li class="class"><a href="../classes/hhu.z.questtypes.SubmitQuesttypeModel.html">SubmitQuesttypeModel</a></li>
<li class="class"><a href="../classes/hhu.z.questtypes.TextinputQuesttypeAgent.html">TextinputQuesttypeAgent</a></li>
<li class="class"><a href="../classes/hhu.z.questtypes.TextinputQuesttypeController.html">TextinputQuesttypeController</a></li>
<li class="class"><a href="../classes/hhu.z.questtypes.TextinputQuesttypeModel.html">TextinputQuesttypeModel</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle collapsed" data-toggle="collapse" data-target="#namespace-1290320075"></a>
<a href="../namespaces/hhu.z.requests.html" style="margin-left: 30px; padding-left: 0">requests</a>
</div>
<div id="namespace-1290320075" class="accordion-body collapse ">
<div class="accordion-inner">
<ul>
<li class="class"><a href="../classes/hhu.z.requests.MailRequest.html">MailRequest</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle collapsed" data-toggle="collapse" data-target="#namespace-491046977"></a>
<a href="../namespaces/hhu.z.responses.html" style="margin-left: 30px; padding-left: 0">responses</a>
</div>
<div id="namespace-491046977" class="accordion-body collapse ">
<div class="accordion-inner">
<ul>
<li class="class"><a href="../classes/hhu.z.responses.MailResponse.html">MailResponse</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle collapsed" data-toggle="collapse" data-target="#namespace-982969124"></a>
<a href="../namespaces/hhu.z.views.html" style="margin-left: 30px; padding-left: 0">views</a>
</div>
<div id="namespace-982969124" class="accordion-body collapse ">
<div class="accordion-inner">
<ul>
<li class="class"><a href="../classes/hhu.z.views.QuesttypeView.html">QuesttypeView</a></li>
</ul>
</div>
</div>
</div>
</div>
<ul>
<li class="class"><a href="../classes/hhu.z.Controller.html">Controller</a></li>
<li class="class"><a href="../classes/hhu.z.Model.html">Model</a></li>
<li class="class"><a href="../classes/hhu.z.TextFormatter.html">TextFormatter</a></li>
<li class="class"><a href="../classes/hhu.z.Utils.html">Utils</a></li>
</ul>
</div>
</div>
</div>
</div>
<ul>
</ul>
</div>
</div>
</div>
</div>
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle collapsed" data-toggle="collapse" data-target="#namespace-1775036732"></a>
<a href="../namespaces/nre.html" style="margin-left: 30px; padding-left: 0">nre</a>
</div>
<div id="namespace-1775036732" class="accordion-body collapse ">
<div class="accordion-inner">
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle collapsed" data-toggle="collapse" data-target="#namespace-1828578359"></a>
<a href="../namespaces/nre.agents.html" style="margin-left: 30px; padding-left: 0">agents</a>
</div>
<div id="namespace-1828578359" class="accordion-body collapse ">
<div class="accordion-inner">
<ul>
<li class="class"><a href="../classes/nre.agents.BottomlevelAgent.html">BottomlevelAgent</a></li>
<li class="class"><a href="../classes/nre.agents.IntermediateAgent.html">IntermediateAgent</a></li>
<li class="class"><a href="../classes/nre.agents.ToplevelAgent.html">ToplevelAgent</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle collapsed" data-toggle="collapse" data-target="#namespace-1891737352"></a>
<a href="../namespaces/nre.apis.html" style="margin-left: 30px; padding-left: 0">apis</a>
</div>
<div id="namespace-1891737352" class="accordion-body collapse ">
<div class="accordion-inner">
<ul>
<li class="class"><a href="../classes/nre.apis.WebApi.html">WebApi</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle collapsed" data-toggle="collapse" data-target="#namespace-219161325"></a>
<a href="../namespaces/nre.configs.html" style="margin-left: 30px; padding-left: 0">configs</a>
</div>
<div id="namespace-219161325" class="accordion-body collapse ">
<div class="accordion-inner">
<ul>
<li class="class"><a href="../classes/nre.configs.AppConfig.html">AppConfig</a></li>
<li class="class"><a href="../classes/nre.configs.CoreConfig.html">CoreConfig</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle collapsed" data-toggle="collapse" data-target="#namespace-1503822937"></a>
<a href="../namespaces/nre.core.html" style="margin-left: 30px; padding-left: 0">core</a>
</div>
<div id="namespace-1503822937" class="accordion-body collapse ">
<div class="accordion-inner">
<ul>
<li class="class"><a href="../classes/nre.core.Agent.html">Agent</a></li>
<li class="class"><a href="../classes/nre.core.Api.html">Api</a></li>
<li class="class"><a href="../classes/nre.core.Autoloader.html">Autoloader</a></li>
<li class="class"><a href="../classes/nre.core.ClassLoader.html">ClassLoader</a></li>
<li class="class"><a href="../classes/nre.core.Component.html">Component</a></li>
<li class="class"><a href="../classes/nre.core.Config.html">Config</a></li>
<li class="class"><a href="../classes/nre.core.Controller.html">Controller</a></li>
<li class="class"><a href="../classes/nre.core.Driver.html">Driver</a></li>
<li class="class"><a href="../classes/nre.core.Exception.html">Exception</a></li>
<li class="class"><a href="../classes/nre.core.Linker.html">Linker</a></li>
<li class="class"><a href="../classes/nre.core.Logger.html">Logger</a></li>
<li class="class"><a href="../classes/nre.core.Model.html">Model</a></li>
<li class="class"><a href="../classes/nre.core.Request.html">Request</a></li>
<li class="class"><a href="../classes/nre.core.Response.html">Response</a></li>
<li class="class"><a href="../classes/nre.core.View.html">View</a></li>
<li class="class"><a href="../classes/nre.core.WebUtils.html">WebUtils</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle collapsed" data-toggle="collapse" data-target="#namespace-1163217528"></a>
<a href="../namespaces/nre.drivers.html" style="margin-left: 30px; padding-left: 0">drivers</a>
</div>
<div id="namespace-1163217528" class="accordion-body collapse ">
<div class="accordion-inner">
<ul>
<li class="class"><a href="../classes/nre.drivers.DatabaseDriver.html">DatabaseDriver</a></li>
<li class="class"><a href="../classes/nre.drivers.MysqliDriver.html">MysqliDriver</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle collapsed" data-toggle="collapse" data-target="#namespace-1905687209"></a>
<a href="../namespaces/nre.exceptions.html" style="margin-left: 30px; padding-left: 0">exceptions</a>
</div>
<div id="namespace-1905687209" class="accordion-body collapse ">
<div class="accordion-inner">
<ul>
<li class="class"><a href="../classes/nre.exceptions.AccessDeniedException.html">AccessDeniedException</a></li>
<li class="class"><a href="../classes/nre.exceptions.ActionNotFoundException.html">ActionNotFoundException</a></li>
<li class="class"><a href="../classes/nre.exceptions.AgentNotFoundException.html">AgentNotFoundException</a></li>
<li class="class"><a href="../classes/nre.exceptions.AgentNotValidException.html">AgentNotValidException</a></li>
<li class="class"><a href="../classes/nre.exceptions.ClassNotFoundException.html">ClassNotFoundException</a></li>
<li class="class"><a href="../classes/nre.exceptions.ClassNotValidException.html">ClassNotValidException</a></li>
<li class="class"><a href="../classes/nre.exceptions.ComponentNotFoundException.html">ComponentNotFoundException</a></li>
<li class="class"><a href="../classes/nre.exceptions.ComponentNotValidException.html">ComponentNotValidException</a></li>
<li class="class"><a href="../classes/nre.exceptions.ControllerNotFoundException.html">ControllerNotFoundException</a></li>
<li class="class"><a href="../classes/nre.exceptions.ControllerNotValidException.html">ControllerNotValidException</a></li>
<li class="class"><a href="../classes/nre.exceptions.DatamodelException.html">DatamodelException</a></li>
<li class="class"><a href="../classes/nre.exceptions.DriverNotFoundException.html">DriverNotFoundException</a></li>
<li class="class"><a href="../classes/nre.exceptions.DriverNotValidException.html">DriverNotValidException</a></li>
<li class="class"><a href="../classes/nre.exceptions.FatalDatamodelException.html">FatalDatamodelException</a></li>
<li class="class"><a href="../classes/nre.exceptions.IdNotFoundException.html">IdNotFoundException</a></li>
<li class="class"><a href="../classes/nre.exceptions.LayoutNotFoundException.html">LayoutNotFoundException</a></li>
<li class="class"><a href="../classes/nre.exceptions.LayoutNotValidException.html">LayoutNotValidException</a></li>
<li class="class"><a href="../classes/nre.exceptions.ModelNotFoundException.html">ModelNotFoundException</a></li>
<li class="class"><a href="../classes/nre.exceptions.ModelNotValidException.html">ModelNotValidException</a></li>
<li class="class"><a href="../classes/nre.exceptions.ParamsNotValidException.html">ParamsNotValidException</a></li>
<li class="class"><a href="../classes/nre.exceptions.ServiceUnavailableException.html">ServiceUnavailableException</a></li>
<li class="class"><a href="../classes/nre.exceptions.ViewNotFoundException.html">ViewNotFoundException</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle collapsed" data-toggle="collapse" data-target="#namespace-39676354"></a>
<a href="../namespaces/nre.models.html" style="margin-left: 30px; padding-left: 0">models</a>
</div>
<div id="namespace-39676354" class="accordion-body collapse ">
<div class="accordion-inner">
<ul>
<li class="class"><a href="../classes/nre.models.DatabaseModel.html">DatabaseModel</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle collapsed" data-toggle="collapse" data-target="#namespace-1374711276"></a>
<a href="../namespaces/nre.requests.html" style="margin-left: 30px; padding-left: 0">requests</a>
</div>
<div id="namespace-1374711276" class="accordion-body collapse ">
<div class="accordion-inner">
<ul>
<li class="class"><a href="../classes/nre.requests.WebRequest.html">WebRequest</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle collapsed" data-toggle="collapse" data-target="#namespace-318320826"></a>
<a href="../namespaces/nre.responses.html" style="margin-left: 30px; padding-left: 0">responses</a>
</div>
<div id="namespace-318320826" class="accordion-body collapse ">
<div class="accordion-inner">
<ul>
<li class="class"><a href="../classes/nre.responses.WebResponse.html">WebResponse</a></li>
</ul>
</div>
</div>
</div>
</div>
<ul>
</ul>
</div>
</div>
</div>
</div>
<ul>
<li class="class"><a href="../classes/PHPMailer.html">PHPMailer</a></li>
<li class="class"><a href="../classes/phpmailerException.html">phpmailerException</a></li>
<li class="class"><a href="../classes/SMTP.html">SMTP</a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="row-fluid">
<div class="span10 offset2">
<div class="row-fluid">
<div class="span8 content class">
<nav>
<a href="../namespaces/hhu.z.html">\hhu\z</a> <i class="icon-level-up"></i>
</nav>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal"><i class="icon-code"></i></a>
<h1><small>\hhu\z</small>Controller</h1>
<p><em>Abstract class for implementing an application Controller.</em></p>
<section id="summary">
<h2>Summary</h2>
<section class="row-fluid heading">
<section class="span4">
<a href="#methods">Methods</a>
</section>
<section class="span4">
<a href="#properties">Properties</a>
</section>
<section class="span4">
<a href="#constants">Constants</a>
</section>
</section>
<section class="row-fluid public">
<section class="span4">
<a href="../classes/nre.core.Controller.html#method_load" class="">load()</a><br />
<a href="../classes/nre.core.Controller.html#method_factory" class="">factory()</a><br />
<a href="../classes/hhu.z.Controller.html#method___construct" class="">__construct()</a><br />
<a href="../classes/hhu.z.Controller.html#method_preFilter" class="">preFilter()</a><br />
<a href="../classes/hhu.z.Controller.html#method_postFilter" class="">postFilter()</a><br />
<a href="../classes/nre.core.Controller.html#method_run" class="">run()</a><br />
<a href="../classes/nre.core.Controller.html#method_render" class="">render()</a><br />
</section>
<section class="span4">
<a href="../classes/hhu.z.Controller.html#property_components" class="">$components</a><br />
</section>
<section class="span4">
<em>No constants found</em>
</section>
</section>
<section class="row-fluid protected">
<section class="span4">
<a href="../classes/nre.core.Controller.html#method_set" class="">set()</a><br />
<a href="../classes/nre.core.Controller.html#method_redirect" class="">redirect()</a><br />
<a href="../classes/nre.core.Controller.html#method_checkModels" class="">checkModels()</a><br />
<a href="../classes/nre.core.Controller.html#method_getView" class="">getView()</a><br />
<a href="../classes/nre.core.Controller.html#method_loadModels" class="">loadModels()</a><br />
<a href="../classes/nre.core.Controller.html#method_loadView" class="">loadView()</a><br />
<a href="../classes/hhu.z.Controller.html#method_log" class="">log()</a><br />
</section>
<section class="span4">
<a href="../classes/nre.core.Controller.html#property_agent" class="">$agent</a><br />
<a href="../classes/nre.core.Controller.html#property_view" class="">$view</a><br />
<a href="../classes/nre.core.Controller.html#property_viewData" class="">$viewData</a><br />
<a href="../classes/nre.core.Controller.html#property_request" class="">$request</a><br />
<a href="../classes/nre.core.Controller.html#property_response" class="">$response</a><br />
<a href="../classes/hhu.z.Controller.html#property_log" class="">$log</a><br />
<a href="../classes/hhu.z.Controller.html#property_linker" class="">$linker</a><br />
</section>
<section class="span4">
<em>N/A</em>
</section>
</section>
<section class="row-fluid private">
<section class="span4">
<a href="../classes/nre.core.Controller.html#method_getClassName" class="">getClassName()</a><br />
<a href="../classes/nre.core.Controller.html#method_loadComponents" class="">loadComponents()</a><br />
</section>
<section class="span4">
<em>No private properties found</em>
</section>
<section class="span4">
<em>N/A</em>
</section>
</section>
</section>
</div>
<aside class="span4 detailsbar">
<span class="label label-info">abstract</span>
<dl>
<dt>File</dt>
<dd><a href="../files/app.Controller.html"><div class="path-wrapper">app/Controller.inc</div></a></dd>
<dt>Package</dt>
<dd><div class="namespace-wrapper">Default</div></dd>
<dt>Class hierarchy</dt>
<dd class="hierarchy">
<div class="namespace-wrapper"><a href="../classes/nre.core.Controller.html">\nre\core\Controller</a></div>
<div class="namespace-wrapper">\hhu\z\Controller</div>
</dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr>
<th>
author
</th>
<td>
<p>Oliver Hanraths <a href="mailto:oliver.hanraths@uni-duesseldorf.de">oliver.hanraths@uni-duesseldorf.de</a></p>
</td>
</tr>
</table>
</aside>
</div>
<a id="properties" name="properties"></a>
<div class="row-fluid">
<div class="span8 content class">
<h2>Properties</h2>
</div>
<aside class="span4 detailsbar"></aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="property_components" name="property_components" class="anchor"></a>
<article class="property">
<h3 class="public ">$components</h3>
<pre class="signature">$components : array</pre>
<p><em>Required components</em></p>
<h4>Type</h4>
array
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="property_agent" name="property_agent" class="anchor"></a>
<article class="property">
<h3 class="protected ">$agent</h3>
<pre class="signature">$agent : \nre\core\Agent</pre>
<p><em>Corresponding Agent</em></p>
<h4>Type</h4>
<a href="../classes/nre.core.Agent.html">\nre\core\Agent</a>
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/nre.core.Controller.html"><div class="path-wrapper">\nre\core\Controller</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="property_view" name="property_view" class="anchor"></a>
<article class="property">
<h3 class="protected ">$view</h3>
<pre class="signature">$view : \nre\core\View</pre>
<p><em>View of the Controller</em></p>
<h4>Type</h4>
<a href="../classes/nre.core.View.html">\nre\core\View</a>
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/nre.core.Controller.html"><div class="path-wrapper">\nre\core\Controller</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="property_viewData" name="property_viewData" class="anchor"></a>
<article class="property">
<h3 class="protected ">$viewData</h3>
<pre class="signature">$viewData : array</pre>
<p><em>Data to pass to the View</em></p>
<h4>Type</h4>
array
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/nre.core.Controller.html"><div class="path-wrapper">\nre\core\Controller</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="property_request" name="property_request" class="anchor"></a>
<article class="property">
<h3 class="protected ">$request</h3>
<pre class="signature">$request : \nre\core\Request</pre>
<p><em>Current request</em></p>
<h4>Type</h4>
<a href="../classes/nre.core.Request.html">\nre\core\Request</a>
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/nre.core.Controller.html"><div class="path-wrapper">\nre\core\Controller</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="property_response" name="property_response" class="anchor"></a>
<article class="property">
<h3 class="protected ">$response</h3>
<pre class="signature">$response : \nre\core\Response</pre>
<p><em>Current response</em></p>
<h4>Type</h4>
<a href="../classes/nre.core.Response.html">\nre\core\Response</a>
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/nre.core.Controller.html"><div class="path-wrapper">\nre\core\Controller</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="property_log" name="property_log" class="anchor"></a>
<article class="property">
<h3 class="protected ">$log</h3>
<pre class="signature">$log : \nre\core\Logger</pre>
<p><em>Logger instance</em></p>
<h4>Type</h4>
<a href="../classes/nre.core.Logger.html">\nre\core\Logger</a>
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="property_linker" name="property_linker" class="anchor"></a>
<article class="property">
<h3 class="protected ">$linker</h3>
<pre class="signature">$linker : \nre\core\Linker</pre>
<p><em>Linker instance</em></p>
<h4>Type</h4>
<a href="../classes/nre.core.Linker.html">\nre\core\Linker</a>
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<a id="methods" name="methods"></a>
<div class="row-fluid">
<div class="span8 content class"><h2>Methods</h2></div>
<aside class="span4 detailsbar"></aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="method_load" name="method_load" class="anchor"></a>
<article class="method">
<h3 class="public ">load()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">load(string <span class="argument">$controllerName</span>) </pre>
<p><em>Load the class of a Controller.</em></p>
<h4>Parameters</h4>
<table class="table table-condensed table-hover">
<tr>
<td>string</td>
<td>$controllerName </td>
<td><p>Name of the Controller to load</p></td>
</tr>
</table>
<h4>Throws</h4>
<dl>
<dt>\nre\exceptions\ControllerNotFoundException</dt>
<dd></dd>
<dt>\nre\exceptions\ControllerNotValidException</dt>
<dd></dd>
</dl>
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<span class="label label-info">static</span>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/nre.core.Controller.html"><div class="path-wrapper">\nre\core\Controller</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="method_factory" name="method_factory" class="anchor"></a>
<article class="method">
<h3 class="public ">factory()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">factory(string <span class="argument">$controllerName</span>, string <span class="argument">$layoutName</span>, string <span class="argument">$action</span>, string <span class="argument">$agent</span>) </pre>
<p><em>Instantiate a Controller (Factory Pattern).</em></p>
<h4>Parameters</h4>
<table class="table table-condensed table-hover">
<tr>
<td>string</td>
<td>$controllerName </td>
<td><p>Name of the Controller to instantiate</p></td>
</tr>
<tr>
<td>string</td>
<td>$layoutName </td>
<td><p>Name of the current Layout</p></td>
</tr>
<tr>
<td>string</td>
<td>$action </td>
<td><p>Current Action</p></td>
</tr>
<tr>
<td>string</td>
<td>$agent </td>
<td><p>Corresponding Agent</p></td>
</tr>
</table>
<h4>Throws</h4>
<dl>
<dt>\nre\exceptions\DatamodelException</dt>
<dd></dd>
<dt>\nre\exceptions\DriverNotFoundException</dt>
<dd></dd>
<dt>\nre\exceptions\DriverNotValidException</dt>
<dd></dd>
<dt>\nre\exceptions\ModelNotValidException</dt>
<dd></dd>
<dt>\nre\exceptions\ModelNotFoundException</dt>
<dd></dd>
<dt>\nre\exceptions\ViewNotFoundException</dt>
<dd></dd>
</dl>
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<span class="label label-info">static</span>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/nre.core.Controller.html"><div class="path-wrapper">\nre\core\Controller</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="method___construct" name="method___construct" class="anchor"></a>
<article class="method">
<h3 class="public ">__construct()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">__construct(string <span class="argument">$layoutName</span>, string <span class="argument">$action</span>, \nre\core\Agent <span class="argument">$agent</span>) </pre>
<p><em>Construct a new application Controller.</em></p>
<h4>Parameters</h4>
<table class="table table-condensed table-hover">
<tr>
<td>string</td>
<td>$layoutName </td>
<td><p>Name of the current Layout</p></td>
</tr>
<tr>
<td>string</td>
<td>$action </td>
<td><p>Current Action</p></td>
</tr>
<tr>
<td><a href="../classes/nre.core.Agent.html">\nre\core\Agent</a></td>
<td>$agent </td>
<td><p>Corresponding Agent</p></td>
</tr>
</table>
<h4>Throws</h4>
<dl>
<dt>\nre\exceptions\DriverNotFoundException</dt>
<dd></dd>
<dt>\nre\exceptions\DriverNotValidException</dt>
<dd></dd>
<dt>\nre\exceptions\ModelNotValidException</dt>
<dd></dd>
<dt>\nre\exceptions\ModelNotFoundException</dt>
<dd></dd>
<dt>\nre\exceptions\ViewNotFoundException</dt>
<dd></dd>
</dl>
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="method_preFilter" name="method_preFilter" class="anchor"></a>
<article class="method">
<h3 class="public ">preFilter()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">preFilter(\nre\core\Request <span class="argument">$request</span>, \nre\core\Response <span class="argument">$response</span>) </pre>
<p><em>Prefilter that is executed before running the Controller.</em></p>
<h4>Parameters</h4>
<table class="table table-condensed table-hover">
<tr>
<td><a href="../classes/nre.core.Request.html">\nre\core\Request</a></td>
<td>$request </td>
<td><p>Current request</p></td>
</tr>
<tr>
<td><a href="../classes/nre.core.Response.html">\nre\core\Response</a></td>
<td>$response </td>
<td><p>Current response</p></td>
</tr>
</table>
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="method_postFilter" name="method_postFilter" class="anchor"></a>
<article class="method">
<h3 class="public ">postFilter()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">postFilter(\nre\core\Request <span class="argument">$request</span>, \nre\core\Response <span class="argument">$response</span>) </pre>
<p><em>Postfilter that is executed after running the Controller.</em></p>
<h4>Parameters</h4>
<table class="table table-condensed table-hover">
<tr>
<td><a href="../classes/nre.core.Request.html">\nre\core\Request</a></td>
<td>$request </td>
<td><p>Current request</p></td>
</tr>
<tr>
<td><a href="../classes/nre.core.Response.html">\nre\core\Response</a></td>
<td>$response </td>
<td><p>Current response</p></td>
</tr>
</table>
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="method_run" name="method_run" class="anchor"></a>
<article class="method">
<h3 class="public ">run()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">run(\nre\core\Request <span class="argument">$request</span>, \nre\core\Response <span class="argument">$response</span>) </pre>
<p><em>Run the Controller.</em></p>
<p>This method executes the Action of the Controller defined by
the current Request.</p>
<h4>Parameters</h4>
<table class="table table-condensed table-hover">
<tr>
<td><a href="../classes/nre.core.Request.html">\nre\core\Request</a></td>
<td>$request </td>
<td><p>Current request</p></td>
</tr>
<tr>
<td><a href="../classes/nre.core.Response.html">\nre\core\Response</a></td>
<td>$response </td>
<td><p>Current response</p></td>
</tr>
</table>
<h4>Throws</h4>
<dl>
<dt>\nre\exceptions\ParamsNotValidException</dt>
<dd></dd>
<dt>\nre\exceptions\IdNotFoundException</dt>
<dd></dd>
<dt>\nre\exceptions\DatamodelException</dt>
<dd></dd>
<dt>\nre\exceptions\ActionNotFoundException</dt>
<dd></dd>
</dl>
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/nre.core.Controller.html"><div class="path-wrapper">\nre\core\Controller</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="method_render" name="method_render" class="anchor"></a>
<article class="method">
<h3 class="public ">render()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">render(array <span class="argument">$viewData = null</span>) : string</pre>
<p><em>Generate the output.</em></p>
<h4>Parameters</h4>
<table class="table table-condensed table-hover">
<tr>
<td>array</td>
<td>$viewData </td>
<td><p>Data to pass to the View</p></td>
</tr>
</table>
<h4>Returns</h4>
string
&mdash; <p>Generated output</p>
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/nre.core.Controller.html"><div class="path-wrapper">\nre\core\Controller</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="method_set" name="method_set" class="anchor"></a>
<article class="method">
<h3 class="protected ">set()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">set(string <span class="argument">$name</span>, mixed <span class="argument">$data</span>) </pre>
<p><em>Set data for the View.</em></p>
<h4>Parameters</h4>
<table class="table table-condensed table-hover">
<tr>
<td>string</td>
<td>$name </td>
<td><p>Key</p></td>
</tr>
<tr>
<td>mixed</td>
<td>$data </td>
<td><p>Value</p></td>
</tr>
</table>
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/nre.core.Controller.html"><div class="path-wrapper">\nre\core\Controller</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="method_redirect" name="method_redirect" class="anchor"></a>
<article class="method">
<h3 class="protected ">redirect()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">redirect(string <span class="argument">$url</span>) </pre>
<p><em>Redirect to the given URL.</em></p>
<h4>Parameters</h4>
<table class="table table-condensed table-hover">
<tr>
<td>string</td>
<td>$url </td>
<td><p>Relative URL</p></td>
</tr>
</table>
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/nre.core.Controller.html"><div class="path-wrapper">\nre\core\Controller</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="method_checkModels" name="method_checkModels" class="anchor"></a>
<article class="method">
<h3 class="protected ">checkModels()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">checkModels(string <span class="argument">$modelName</span>) : boolean</pre>
<p><em>Check if Models of this Controller are loaded and available.</em></p>
<h4>Parameters</h4>
<table class="table table-condensed table-hover">
<tr>
<td>string</td>
<td>$modelName </td>
<td><p>Arbitrary number of Models to check</p></td>
</tr>
</table>
<h4>Returns</h4>
boolean
&mdash; <p>All given Models are loaded and available</p>
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/nre.core.Controller.html"><div class="path-wrapper">\nre\core\Controller</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="method_getView" name="method_getView" class="anchor"></a>
<article class="method">
<h3 class="protected ">getView()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">getView() : \nre\core\View</pre>
<p><em>Get the View of the Controller</em></p>
<h4>Returns</h4>
<a href="../classes/nre.core.View.html">\nre\core\View</a>
&mdash; <p>View of the Controller</p>
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/nre.core.Controller.html"><div class="path-wrapper">\nre\core\Controller</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="method_loadModels" name="method_loadModels" class="anchor"></a>
<article class="method">
<h3 class="protected ">loadModels()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">loadModels() </pre>
<p><em>Load the Models of this Controller.</em></p>
<h4>Throws</h4>
<dl>
<dt>\nre\exceptions\DatamodelException</dt>
<dd></dd>
<dt>\nre\exceptions\DriverNotFoundException</dt>
<dd></dd>
<dt>\nre\exceptions\DriverNotValidException</dt>
<dd></dd>
<dt>\nre\exceptions\ModelNotValidException</dt>
<dd></dd>
<dt>\nre\exceptions\ModelNotFoundException</dt>
<dd></dd>
</dl>
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/nre.core.Controller.html"><div class="path-wrapper">\nre\core\Controller</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="method_loadView" name="method_loadView" class="anchor"></a>
<article class="method">
<h3 class="protected ">loadView()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">loadView(string <span class="argument">$layoutName</span>, string <span class="argument">$action</span>) </pre>
<p><em>Load the View of this Controller.</em></p>
<h4>Parameters</h4>
<table class="table table-condensed table-hover">
<tr>
<td>string</td>
<td>$layoutName </td>
<td><p>Name of the current Layout</p></td>
</tr>
<tr>
<td>string</td>
<td>$action </td>
<td><p>Current Action</p></td>
</tr>
</table>
<h4>Throws</h4>
<dl>
<dt>\nre\exceptions\ViewNotFoundException</dt>
<dd></dd>
</dl>
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/nre.core.Controller.html"><div class="path-wrapper">\nre\core\Controller</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="method_log" name="method_log" class="anchor"></a>
<article class="method">
<h3 class="protected ">log()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">log(string <span class="argument">$message</span>, integer <span class="argument">$logMode = \nre\core\Logger::LOGMODE_AUTO</span>) </pre>
<p><em>Log an error.</em></p>
<h4>Parameters</h4>
<table class="table table-condensed table-hover">
<tr>
<td>string</td>
<td>$message </td>
<td><p>Error message to log</p></td>
</tr>
<tr>
<td>integer</td>
<td>$logMode </td>
<td><p>Log mode (optional)</p></td>
</tr>
</table>
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="method_getClassName" name="method_getClassName" class="anchor"></a>
<article class="method">
<h3 class="private ">getClassName()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">getClassName(string <span class="argument">$controllerName</span>) : string</pre>
<p><em>Determine the classname for the given Controller name.</em></p>
<h4>Parameters</h4>
<table class="table table-condensed table-hover">
<tr>
<td>string</td>
<td>$controllerName </td>
<td><p>Controller name to get classname of</p></td>
</tr>
</table>
<h4>Returns</h4>
string
&mdash; <p>Classname for the Controller name</p>
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<span class="label label-info">static</span>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/nre.core.Controller.html"><div class="path-wrapper">\nre\core\Controller</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="method_loadComponents" name="method_loadComponents" class="anchor"></a>
<article class="method">
<h3 class="private ">loadComponents()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">loadComponents() </pre>
<p><em>Load the Components of this Controller.</em></p>
<h4>Throws</h4>
<dl>
<dt>\nre\exceptions\ComponentNotValidException</dt>
<dd></dd>
<dt>\nre\exceptions\ComponentNotFoundException</dt>
<dd></dd>
</dl>
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/nre.core.Controller.html"><div class="path-wrapper">\nre\core\Controller</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
</div>
</section>
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3 id="source-view-label">Controller.inc</h3>
</div>
<div class="modal-body">
<pre data-src="../files/app/Controller.inc.txt" class="language-php line-numbers"></pre>
</div>
</div>
<footer class="row-fluid">
<section class="span10 offset2">
<section class="row-fluid">
<section class="span10 offset1">
<section class="row-fluid footer-sections">
<section class="span4">
<h1><i class="icon-code"></i></h1>
<div>
<ul>
<li><a href="../namespaces/hhu.html">\hhu</a></li>
<li><a href="../namespaces/nre.html">\nre</a></li>
</ul>
</div>
</section>
<section class="span4">
<h1><i class="icon-bar-chart"></i></h1>
<div>
<ul>
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
</ul>
</div>
</section>
<section class="span4">
<h1><i class="icon-pushpin"></i></h1>
<div>
<ul>
<li><a href="../reports/errors.html">Errors</a></li>
<li><a href="../reports/markers.html">Markers</a></li>
</ul>
</div>
</section>
</section>
</section>
</section>
<section class="row-fluid">
<section class="span10 offset1">
<hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on March 6th, 2015 at 11:17.
</section>
</section>
</section>
</footer>
</div>
</body>
</html>