Go to most recent revision | Blame | Last modification | View Log | RSS feed
<html>
<head>
<title>Docs For Class Registre</title>
<meta http-equiv='Content-Type' content='text/html; charset=UTF-8'/>
<link rel="stylesheet" type="text/css" href="../media/style.css">
</head>
<body>
<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
<tr>
<td class="header_top">Framework</td>
</tr>
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
<tr>
<td class="header_menu">
[ <a href="../classtrees_Framework.html" class="menu">class tree: Framework</a> ]
[ <a href="../elementindex_Framework.html" class="menu">index: Framework</a> ]
[ <a href="../elementindex.html" class="menu">all elements</a> ]
</td>
</tr>
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr valign="top">
<td width="200" class="menu">
<b>Packages:</b><br />
<a href="../li_Framework.html">Framework</a><br />
<br /><br />
<b>Files:</b><br />
<div class="package">
<a href="../Framework/_Application.php.html"> Application.php
</a><br>
<a href="../Framework/_autoload.inc.php.html"> autoload.inc.php
</a><br>
<a href="../Framework/_Chronometre.php.html"> Chronometre.php
</a><br>
<a href="../Framework/_Config.php.html"> Config.php
</a><br>
<a href="../Framework/_Controleur.php.html"> Controleur.php
</a><br>
<a href="../Framework/_Debug.php.html"> Debug.php
</a><br>
<a href="../Framework/_GestionnaireException.php.html"> GestionnaireException.php
</a><br>
<a href="../Framework/_Log.php.html"> Log.php
</a><br>
<a href="../Framework/_Modele.php.html"> Modele.php
</a><br>
<a href="../Framework/_Registre.php.html"> Registre.php
</a><br>
<a href="../Framework/_SquelettePhp.php.html"> SquelettePhp.php
</a><br>
<a href="../Framework/_Url.php.html"> Url.php
</a><br>
</div><br />
<b>Classes:</b><br />
<div class="package">
<a href="../Framework/Application.html">Application</a><br />
<a href="../Framework/Chronometre.html">Chronometre</a><br />
<a href="../Framework/Config.html">Config</a><br />
<a href="../Framework/Controleur.html">Controleur</a><br />
<a href="../Framework/Debug.html">Debug</a><br />
<a href="../Framework/GestionnaireException.html">GestionnaireException</a><br />
<a href="../Framework/Log.html">Log</a><br />
<a href="../Framework/Modele.html">Modele</a><br />
<a href="../Framework/Registre.html">Registre</a><br />
<a href="../Framework/SquelettePhp.html">SquelettePhp</a><br />
<a href="../Framework/Url.html">Url</a><br />
</div>
</td>
<td>
<table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">
<h1>Class: Registre</h1>
Source Location: /Registre.php<br /><br />
<table width="100%" border="0">
<tr><td valign="top">
<h3><a href="#class_details">Class Overview</a></h3>
<pre></pre><br />
<div class="description">Classe registre, qui permet un accès à différentes variables à travers les autres classes.</div><br /><br />
<h4>Author(s):</h4>
<ul>
<li>Jean-Pascal Milcent <<a href="mailto:jmp@tela-botanica.org">jmp@tela-botanica.org</a>></li>
</ul>
<h4>Version:</h4>
<ul>
<li>SVN: $$Id: Registre.php 120 2009-09-01 12:21:14Z aurelien $$</li>
</ul>
<h4>Copyright:</h4>
<ul>
<li>2009 Tela-Botanica</li>
</ul>
</td>
<td valign="top">
<h3><a href="#class_methods">Methods</a></h3>
<ul>
<li><a href="../Framework/Registre.html#methoddetruire">detruire</a></li>
<li><a href="../Framework/Registre.html#methodexiste">existe</a></li>
<li><a href="../Framework/Registre.html#methodget">get</a></li>
<li><a href="../Framework/Registre.html#methodgetInstance">getInstance</a></li>
<li><a href="../Framework/Registre.html#methodset">set</a></li>
</ul>
</td>
</tr></table>
<hr />
<table width="100%" border="0"><tr>
</tr></table>
<hr />
<a name="class_details"></a>
<h3>Class Details</h3>
<div class="tags">
[line <a href="../__filesource/fsource_Framework__Registre.php.html#a19">19</a>]<br />
Classe registre, qui permet un accès à différentes variables à travers les autres classes.<br /><br /><p>C'est un singleton</p><p>PHP Version 5</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>author:</b> </td><td>Jean-Pascal Milcent <<a href="mailto:jmp@tela-botanica.org">jmp@tela-botanica.org</a>></td>
</tr>
<tr>
<td><b>version:</b> </td><td>SVN: $$Id: Registre.php 120 2009-09-01 12:21:14Z aurelien $$</td>
</tr>
<tr>
<td><b>copyright:</b> </td><td>2009 Tela-Botanica</td>
</tr>
<tr>
<td><b>link:</b> </td><td>/doc/framework/</td>
</tr>
<tr>
<td><b>license:</b> </td><td><a href="http://www.gnu.org/licenses/gpl.html">Licence GNU-GPL</a></td>
</tr>
<tr>
<td><b>license:</b> </td><td><a href="http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt">Licence CECILL</a></td>
</tr>
</table>
</div>
</div><br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div><br />
<hr />
<a name="class_methods"></a>
<h3>Class Methods</h3>
<div class="tags">
<hr />
<a name="methodgetInstance"></a>
<h3>static method getInstance <span class="smalllinenumber">[line <a href="../__filesource/fsource_Framework__Registre.php.html#a40">40</a>]</span></h3>
<div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
<code>static void getInstance(
)</code>
</td></tr></table>
</td></tr></table><br />
Fonction qui renvoie l'instance de classe en assurant son unicité, c'est l'unique méthode qui doit être<br /><br /><p>utilisée pour récupérer l'objet Registre</p><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>access:</b> </td><td>public</td>
</tr>
</table>
</div>
<br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methoddetruire"></a>
<h3>method detruire <span class="smalllinenumber">[line <a href="../__filesource/fsource_Framework__Registre.php.html#a77">77</a>]</span></h3>
<div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
<code>void detruire(
$intitule)</code>
</td></tr></table>
</td></tr></table><br />
Détruit l'objet associé à l'intitulé, n'a pas d'effet si il n'y a pas d'objet associé<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>access:</b> </td><td>public</td>
</tr>
</table>
</div>
<br /><br />
<h4>Parameters:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="type"> </td>
<td><b>$intitule</b> </td>
<td></td>
</tr>
</table>
</div><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodexiste"></a>
<h3>method existe <span class="smalllinenumber">[line <a href="../__filesource/fsource_Framework__Registre.php.html#a87">87</a>]</span></h3>
<div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
<code>boolean existe(
$intitule)</code>
</td></tr></table>
</td></tr></table><br />
Teste si un objet est présent sous un intitulé donné<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>return:</b> </td><td>true si un objet associé à cet intitulé est présent, false sinon</td>
</tr>
<tr>
<td><b>access:</b> </td><td>public</td>
</tr>
</table>
</div>
<br /><br />
<h4>Parameters:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="type"> </td>
<td><b>$intitule</b> </td>
<td></td>
</tr>
</table>
</div><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodget"></a>
<h3>method get <span class="smalllinenumber">[line <a href="../__filesource/fsource_Framework__Registre.php.html#a67">67</a>]</span></h3>
<div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
<code>mixed get(
$intitule)</code>
</td></tr></table>
</td></tr></table><br />
Renvoie l'objet associé à l'intitulé donné en paramètre<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>return:</b> </td><td>l'objet associé à l'intitulé ou null s'il n'est pas présent</td>
</tr>
<tr>
<td><b>access:</b> </td><td>public</td>
</tr>
</table>
</div>
<br /><br />
<h4>Parameters:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="type"> </td>
<td><b>$intitule</b> </td>
<td></td>
</tr>
</table>
</div><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
<hr />
<a name="methodset"></a>
<h3>method set <span class="smalllinenumber">[line <a href="../__filesource/fsource_Framework__Registre.php.html#a53">53</a>]</span></h3>
<div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
<code>void set(
string
$intitule, mixed
$objet)</code>
</td></tr></table>
</td></tr></table><br />
Ajoute un objet au tableau selon un intitulé donné<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><b>access:</b> </td><td>public</td>
</tr>
</table>
</div>
<br /><br />
<h4>Parameters:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="type">string </td>
<td><b>$intitule</b> </td>
<td>l'intitulé sous lequel l'objet sera conservé</td>
</tr>
<tr>
<td class="type">mixed </td>
<td><b>$objet</b> </td>
<td>l'objet à conserver</td>
</tr>
</table>
</div><br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
</div><br />
<div class="credit">
<hr />
Documentation generated on Thu, 04 Mar 2010 19:27:35 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
</div>
</td></tr></table>
</td>
</tr>
</table>
</body>
</html>