148 lines
6.9 KiB
HTML
148 lines
6.9 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<title>BurgerQuizz - Web: controller Class Reference</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
|
|
</head>
|
|
<body>
|
|
<!-- Generated by Doxygen 1.7.1 -->
|
|
<div class="navigation" id="top">
|
|
<div class="tabs">
|
|
<ul class="tablist">
|
|
<li><a href="main.html"><span>Main Page</span></a></li>
|
|
<li class="current"><a href="annotated.html"><span>Data Structures</span></a></li>
|
|
<li><a href="files.html"><span>Files</span></a></li>
|
|
<li><a href="examples.html"><span>Examples</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="tabs2">
|
|
<ul class="tablist">
|
|
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
|
<li><a href="classes.html"><span>Data Structure Index</span></a></li>
|
|
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
|
<li><a href="functions.html"><span>Data Fields</span></a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="#pub-static-methods">Static Public Member Functions</a> </div>
|
|
<div class="headertitle">
|
|
<h1>controller Class Reference</h1> </div>
|
|
</div>
|
|
<div class="contents">
|
|
<!-- doxytag: class="controller" -->
|
|
<p>Gère l'affichage des pages en fonction de l'argument 'page' de la barre d'adresse.
|
|
<a href="#_details">More...</a></p>
|
|
<table class="memberdecls">
|
|
<tr><td colspan="2"><h2><a name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcontroller.html#afde88292c44dc59faf017738dae6dffb">render</a> ()</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Génère le code HTML de la page désirée, enfonction du terminal. <a href="#afde88292c44dc59faf017738dae6dffb"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcontroller.html#ab7083f7ff045dc98f3217982f921f079">route</a> ()</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Charge les données de la barre d'adresse. <a href="#ab7083f7ff045dc98f3217982f921f079"></a><br/></td></tr>
|
|
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
|
|
Static Public Member Functions</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">static </td><td class="memItemRight" valign="bottom"><a class="el" href="classcontroller.html#a9f0be6ae273d3669e11c29910a0be338">init</a> ()</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Instancie le contrôleur et charge les données de la barre d'adresse. <a href="#a9f0be6ae273d3669e11c29910a0be338"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">static </td><td class="memItemRight" valign="bottom"><a class="el" href="classcontroller.html#a5ba61361bf0695a285bbaefefc427191">get</a> ()</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Récupère le contrôleur utilisé. <a href="#a5ba61361bf0695a285bbaefefc427191"></a><br/></td></tr>
|
|
</table>
|
|
<hr/><a name="_details"></a><h2>Detailed Description</h2>
|
|
<p>Gère l'affichage des pages en fonction de l'argument 'page' de la barre d'adresse. </p>
|
|
<dl class="note"><dt><b>Note:</b></dt><dd>définit également la structure de la page (<head>) </dd></dl>
|
|
<hr/><h2>Member Function Documentation</h2>
|
|
<a class="anchor" id="a5ba61361bf0695a285bbaefefc427191"></a><!-- doxytag: member="controller::get" ref="a5ba61361bf0695a285bbaefefc427191" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static get </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td>
|
|
<td> ) </td>
|
|
<td><code> [static]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Récupère le contrôleur utilisé. </p>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>controller </dd></dl>
|
|
<dl class="warning"><dt><b>Warning:</b></dt><dd>Si le contrôleur n'a pas été instancié, renverra null </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a9f0be6ae273d3669e11c29910a0be338"></a><!-- doxytag: member="controller::init" ref="a9f0be6ae273d3669e11c29910a0be338" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">static init </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td>
|
|
<td> ) </td>
|
|
<td><code> [static]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Instancie le contrôleur et charge les données de la barre d'adresse. </p>
|
|
<dl class="note"><dt><b>Note:</b></dt><dd>Si le contrôleur a déja été instancié, cette methode executera uniquement <a class="el" href="classcontroller.html#ab7083f7ff045dc98f3217982f921f079" title="Charge les données de la barre d'adresse.">route()</a> </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="afde88292c44dc59faf017738dae6dffb"></a><!-- doxytag: member="controller::render" ref="afde88292c44dc59faf017738dae6dffb" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">render </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td>
|
|
<td> ) </td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Génère le code HTML de la page désirée, enfonction du terminal. </p>
|
|
<dl class="note"><dt><b>Note:</b></dt><dd>le contrôleur doit avoir été instancié et être routé </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ab7083f7ff045dc98f3217982f921f079"></a><!-- doxytag: member="controller::route" ref="ab7083f7ff045dc98f3217982f921f079" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">route </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td>
|
|
<td> ) </td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Charge les données de la barre d'adresse. </p>
|
|
<p>Charge les vars $currpage_code, $currpage_title, $currpage_url correspondant à la page en cours grace au param 'page' </p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following file:<ul>
|
|
<li>/var/www/Burger-ct-glf/<a class="el" href="controller_8php.html">controller.php</a></li>
|
|
</ul>
|
|
</div>
|
|
<hr class="footer"/><address class="footer"><small>Generated on Thu May 31 2012 08:31:38 for BurgerQuizz - Web by
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address>
|
|
</body>
|
|
</html>
|