210 lines
11 KiB
HTML
210 lines
11 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: dao 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-attribs">Data Fields</a> </div>
|
|
<div class="headertitle">
|
|
<h1>dao Class Reference</h1> </div>
|
|
</div>
|
|
<div class="contents">
|
|
<!-- doxytag: class="dao" -->
|
|
<p>Classe mère contenant les fonctions standards de requête à la base de données.
|
|
<a href="#_details">More...</a></p>
|
|
<div class="dynheader">
|
|
Inheritance diagram for dao:</div>
|
|
<div class="dyncontent">
|
|
<div class="center">
|
|
<img src="classdao.png" usemap="#dao_map" alt=""/>
|
|
<map id="dao_map" name="dao_map">
|
|
<area href="classcat__dao.html" alt="cat_dao" shape="rect" coords="0,56,118,80"/>
|
|
<area href="classgame__dao.html" alt="game_dao" shape="rect" coords="128,56,246,80"/>
|
|
<area href="classgroupe__dao.html" alt="groupe_dao" shape="rect" coords="256,56,374,80"/>
|
|
<area href="classquestion__dao.html" alt="question_dao" shape="rect" coords="384,56,502,80"/>
|
|
<area href="classreponse__user__dao.html" alt="reponse_user_dao" shape="rect" coords="512,56,630,80"/>
|
|
<area href="classuser__dao.html" alt="user_dao" shape="rect" coords="640,56,758,80"/>
|
|
</map>
|
|
</div>
|
|
<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="classdao.html#a095c5d389db211932136b53f25f39685">__construct</a> ()</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Récupère le PDO via la classe bdd. <a href="#a095c5d389db211932136b53f25f39685"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdao.html#abdfa47e6bf8f479d3b30c659220fb823">select</a> ($id)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Fonction gérant la récupération d'infos. <a href="#abdfa47e6bf8f479d3b30c659220fb823"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdao.html#a1dba1d1dcb1629c14bd683900d51f08c">insert</a> (&$objet)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Fonction gérant l'insertion d'un nouvel objet dans la BDD. <a href="#a1dba1d1dcb1629c14bd683900d51f08c"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdao.html#a2f8258add505482d7f00ea26493a5723">delete</a> ($id)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Fonction gérant la suppression d'un objet dans la BDD. <a href="#a2f8258add505482d7f00ea26493a5723"></a><br/></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdao.html#aa72cf2ef75e68ce3ac0dd54e6701cd04">update</a> (&$objet)</td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Fonction gérant la mise de jour des données. <a href="#aa72cf2ef75e68ce3ac0dd54e6701cd04"></a><br/></td></tr>
|
|
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
|
|
Data Fields</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdao.html#a1fa3127fc82f96b1436d871ef02be319">$db</a></td></tr>
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Variable contenant l'objet de connexion à la BDD. <a href="#a1fa3127fc82f96b1436d871ef02be319"></a><br/></td></tr>
|
|
</table>
|
|
<hr/><a name="_details"></a><h2>Detailed Description</h2>
|
|
<p>Classe mère contenant les fonctions standards de requête à la base de données. </p>
|
|
<dl class="note"><dt><b>Note:</b></dt><dd>Ne peut être instanciée </dd></dl>
|
|
<hr/><h2>Constructor & Destructor Documentation</h2>
|
|
<a class="anchor" id="a095c5d389db211932136b53f25f39685"></a><!-- doxytag: member="dao::__construct" ref="a095c5d389db211932136b53f25f39685" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">__construct </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td>
|
|
<td> ) </td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Récupère le PDO via la classe bdd. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/><h2>Member Function Documentation</h2>
|
|
<a class="anchor" id="a2f8258add505482d7f00ea26493a5723"></a><!-- doxytag: member="dao::delete" ref="a2f8258add505482d7f00ea26493a5723" args="($id)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">delete </td>
|
|
<td>(</td>
|
|
<td class="paramtype">$ </td>
|
|
<td class="paramname"> <em>id</em></td>
|
|
<td> ) </td>
|
|
<td><code> [abstract]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Fonction gérant la suppression d'un objet dans la BDD. </p>
|
|
|
|
<p>Reimplemented in <a class="el" href="classcat__dao.html#a2f8258add505482d7f00ea26493a5723">cat_dao</a>, <a class="el" href="classgame__dao.html#a2f8258add505482d7f00ea26493a5723">game_dao</a>, <a class="el" href="classgroupe__dao.html#a2f8258add505482d7f00ea26493a5723">groupe_dao</a>, <a class="el" href="classquestion__dao.html#a2f8258add505482d7f00ea26493a5723">question_dao</a>, <a class="el" href="classreponse__user__dao.html#a3265494edb30941f9329ae4a5128b9b5">reponse_user_dao</a>, and <a class="el" href="classuser__dao.html#a2f8258add505482d7f00ea26493a5723">user_dao</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a1dba1d1dcb1629c14bd683900d51f08c"></a><!-- doxytag: member="dao::insert" ref="a1dba1d1dcb1629c14bd683900d51f08c" args="(&$objet)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">insert </td>
|
|
<td>(</td>
|
|
<td class="paramtype">&$ </td>
|
|
<td class="paramname"> <em>objet</em></td>
|
|
<td> ) </td>
|
|
<td><code> [abstract]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Fonction gérant l'insertion d'un nouvel objet dans la BDD. </p>
|
|
|
|
<p>Reimplemented in <a class="el" href="classcat__dao.html#a1dba1d1dcb1629c14bd683900d51f08c">cat_dao</a>, <a class="el" href="classgame__dao.html#a1dba1d1dcb1629c14bd683900d51f08c">game_dao</a>, <a class="el" href="classgroupe__dao.html#a1dba1d1dcb1629c14bd683900d51f08c">groupe_dao</a>, <a class="el" href="classquestion__dao.html#a1dba1d1dcb1629c14bd683900d51f08c">question_dao</a>, <a class="el" href="classreponse__user__dao.html#a1dba1d1dcb1629c14bd683900d51f08c">reponse_user_dao</a>, and <a class="el" href="classuser__dao.html#a1dba1d1dcb1629c14bd683900d51f08c">user_dao</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="abdfa47e6bf8f479d3b30c659220fb823"></a><!-- doxytag: member="dao::select" ref="abdfa47e6bf8f479d3b30c659220fb823" args="($id)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">select </td>
|
|
<td>(</td>
|
|
<td class="paramtype">$ </td>
|
|
<td class="paramname"> <em>id</em></td>
|
|
<td> ) </td>
|
|
<td><code> [abstract]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Fonction gérant la récupération d'infos. </p>
|
|
<dl class="note"><dt><b>Note:</b></dt><dd>l'id est soit l'id (int) soit le login pour user </dd></dl>
|
|
|
|
<p>Reimplemented in <a class="el" href="classcat__dao.html#abdfa47e6bf8f479d3b30c659220fb823">cat_dao</a>, <a class="el" href="classgame__dao.html#abdfa47e6bf8f479d3b30c659220fb823">game_dao</a>, <a class="el" href="classgroupe__dao.html#abdfa47e6bf8f479d3b30c659220fb823">groupe_dao</a>, <a class="el" href="classquestion__dao.html#abdfa47e6bf8f479d3b30c659220fb823">question_dao</a>, and <a class="el" href="classuser__dao.html#abdfa47e6bf8f479d3b30c659220fb823">user_dao</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aa72cf2ef75e68ce3ac0dd54e6701cd04"></a><!-- doxytag: member="dao::update" ref="aa72cf2ef75e68ce3ac0dd54e6701cd04" args="(&$objet)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">update </td>
|
|
<td>(</td>
|
|
<td class="paramtype">&$ </td>
|
|
<td class="paramname"> <em>objet</em></td>
|
|
<td> ) </td>
|
|
<td><code> [abstract]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Fonction gérant la mise de jour des données. </p>
|
|
|
|
<p>Reimplemented in <a class="el" href="classcat__dao.html#aa72cf2ef75e68ce3ac0dd54e6701cd04">cat_dao</a>, <a class="el" href="classgame__dao.html#aa72cf2ef75e68ce3ac0dd54e6701cd04">game_dao</a>, <a class="el" href="classgroupe__dao.html#aa72cf2ef75e68ce3ac0dd54e6701cd04">groupe_dao</a>, <a class="el" href="classquestion__dao.html#aa72cf2ef75e68ce3ac0dd54e6701cd04">question_dao</a>, <a class="el" href="classreponse__user__dao.html#aa72cf2ef75e68ce3ac0dd54e6701cd04">reponse_user_dao</a>, and <a class="el" href="classuser__dao.html#ab9daa5c551d33889b708d20fc294a1b5">user_dao</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/><h2>Field Documentation</h2>
|
|
<a class="anchor" id="a1fa3127fc82f96b1436d871ef02be319"></a><!-- doxytag: member="dao::$db" ref="a1fa3127fc82f96b1436d871ef02be319" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">$db</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>Variable contenant l'objet de connexion à la BDD. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following file:<ul>
|
|
<li>/var/www/Burger-ct-glf/dao/<a class="el" href="dao_8php.html">dao.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>
|