464 |
jpm |
1 |
<!DOCTYPE html>
|
|
|
2 |
<html>
|
|
|
3 |
<head>
|
|
|
4 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
|
5 |
<meta name="generator" content="ApiGen 2.8.0">
|
|
|
6 |
|
465 |
jpm |
7 |
<title>Class Registre</title>
|
464 |
jpm |
8 |
|
|
|
9 |
<script type="text/javascript" src="resources/combined.js?4205936287"></script>
|
465 |
jpm |
10 |
<script type="text/javascript" src="elementlist.js?4111837732"></script>
|
464 |
jpm |
11 |
<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360">
|
|
|
12 |
|
|
|
13 |
</head>
|
|
|
14 |
|
|
|
15 |
<body>
|
|
|
16 |
<div id="left">
|
|
|
17 |
<div id="menu">
|
|
|
18 |
<a href="index.html" title="Overview"><span>Overview</span></a>
|
|
|
19 |
|
|
|
20 |
|
|
|
21 |
<div id="groups">
|
|
|
22 |
<h3>Packages</h3>
|
|
|
23 |
<ul>
|
|
|
24 |
<li class="active"><a href="package-Framework.html">Framework</a>
|
|
|
25 |
</li>
|
|
|
26 |
<li><a href="package-None.html">None</a>
|
|
|
27 |
</li>
|
|
|
28 |
<li><a href="package-PHP.html">PHP</a>
|
|
|
29 |
</li>
|
|
|
30 |
<li><a href="package-Utilitaire.html">Utilitaire</a>
|
|
|
31 |
</li>
|
|
|
32 |
</ul>
|
|
|
33 |
</div>
|
|
|
34 |
|
|
|
35 |
<hr>
|
|
|
36 |
|
|
|
37 |
|
|
|
38 |
<div id="elements">
|
|
|
39 |
<h3>Classes</h3>
|
|
|
40 |
<ul>
|
|
|
41 |
<li><a href="class-Bdd.html">Bdd</a></li>
|
|
|
42 |
<li><a href="class-Cache.html">Cache</a></li>
|
|
|
43 |
<li><a href="class-CacheSimple.html">CacheSimple</a></li>
|
|
|
44 |
<li><a href="class-Chronometre.html">Chronometre</a></li>
|
|
|
45 |
<li><a href="class-Cli.html">Cli</a></li>
|
|
|
46 |
<li><a href="class-Config.html">Config</a></li>
|
|
|
47 |
<li><a href="class-Controleur.html">Controleur</a></li>
|
|
|
48 |
<li><a href="class-Debug.html">Debug</a></li>
|
|
|
49 |
<li><a href="class-Framework.html">Framework</a></li>
|
|
|
50 |
<li><a href="class-GestionnaireException.html">GestionnaireException</a></li>
|
|
|
51 |
<li><a href="class-I18n.html">I18n</a></li>
|
|
|
52 |
<li><a href="class-Log.html">Log</a></li>
|
|
|
53 |
<li class="active"><a href="class-Registre.html">Registre</a></li>
|
|
|
54 |
<li><a href="class-RestClient.html">RestClient</a></li>
|
|
|
55 |
<li><a href="class-RestServeur.html">RestServeur</a></li>
|
|
|
56 |
<li><a href="class-RestService.html">RestService</a></li>
|
|
|
57 |
<li><a href="class-Script.html">Script</a></li>
|
|
|
58 |
<li><a href="class-SquelettePhp.html">SquelettePhp</a></li>
|
|
|
59 |
<li><a href="class-Url.html">Url</a></li>
|
|
|
60 |
</ul>
|
|
|
61 |
|
|
|
62 |
|
|
|
63 |
|
|
|
64 |
|
|
|
65 |
|
|
|
66 |
</div>
|
|
|
67 |
</div>
|
|
|
68 |
</div>
|
|
|
69 |
|
|
|
70 |
<div id="splitter"></div>
|
|
|
71 |
|
|
|
72 |
<div id="right">
|
|
|
73 |
<div id="rightInner">
|
|
|
74 |
<form id="search">
|
|
|
75 |
<input type="hidden" name="cx" value="">
|
|
|
76 |
<input type="hidden" name="ie" value="UTF-8">
|
|
|
77 |
<input type="text" name="q" class="text">
|
|
|
78 |
<input type="submit" value="Search">
|
|
|
79 |
</form>
|
|
|
80 |
|
|
|
81 |
<div id="navigation">
|
|
|
82 |
<ul>
|
|
|
83 |
<li>
|
|
|
84 |
<a href="index.html" title="Overview"><span>Overview</span></a>
|
|
|
85 |
</li>
|
|
|
86 |
<li>
|
|
|
87 |
<a href="package-Framework.html" title="Summary of Framework"><span>Package</span></a>
|
|
|
88 |
</li>
|
|
|
89 |
<li class="active">
|
|
|
90 |
<span>Class</span> </li>
|
|
|
91 |
</ul>
|
|
|
92 |
<ul>
|
|
|
93 |
<li>
|
|
|
94 |
<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
|
|
|
95 |
</li>
|
|
|
96 |
<li>
|
|
|
97 |
<a href="deprecated.html" title="List of deprecated elements"><span>Deprecated</span></a>
|
|
|
98 |
</li>
|
|
|
99 |
<li>
|
|
|
100 |
<a href="todo.html" title="Todo list"><span>Todo</span></a>
|
|
|
101 |
</li>
|
|
|
102 |
</ul>
|
|
|
103 |
<ul>
|
|
|
104 |
</ul>
|
|
|
105 |
</div>
|
|
|
106 |
|
|
|
107 |
<div id="content" class="class">
|
|
|
108 |
<h1>Class Registre</h1>
|
|
|
109 |
|
|
|
110 |
|
|
|
111 |
<div class="description">
|
|
|
112 |
|
|
|
113 |
<p>Classe Registre, qui permet un accès à différentes variables et
|
|
|
114 |
paramètres à travers les autres classes. C'est un remplaçant à la variable
|
|
|
115 |
magique $_GLOBALS de Php. C'est un singleton. Si vous voulez paramètré votre
|
|
|
116 |
application via un fichier de configuration, utilisez plutôt la classe @see
|
|
|
117 |
Config.</p>
|
|
|
118 |
|
|
|
119 |
</div>
|
|
|
120 |
|
|
|
121 |
|
|
|
122 |
|
|
|
123 |
|
|
|
124 |
|
|
|
125 |
|
|
|
126 |
|
|
|
127 |
|
|
|
128 |
|
|
|
129 |
<div class="info">
|
|
|
130 |
|
|
|
131 |
|
|
|
132 |
|
|
|
133 |
<b>Package:</b> <a href="package-Framework.html">Framework</a><br>
|
|
|
134 |
|
|
|
135 |
<b>Category:</b>
|
|
|
136 |
php 5.2<br>
|
|
|
137 |
<b>Copyright:</b>
|
|
|
138 |
Copyright (c) 2009, Tela Botanica (<a
|
|
|
139 |
href="mailto:accueil@tela-botanica.org">accueil@<!-- -->tela-botanica.org</a>)<br>
|
|
|
140 |
<b>License:</b>
|
|
|
141 |
<a href="http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt">Licence CECILL</a><br>
|
|
|
142 |
<b>License:</b>
|
|
|
143 |
<a href="http://www.gnu.org/licenses/gpl.html">Licence GNU-GPL</a><br>
|
|
|
144 |
<b>Author:</b>
|
|
|
145 |
Jean-Pascal MILCENT <<a
|
|
|
146 |
href="mailto:jmp@tela-botanica.org">jmp@<!-- -->tela-botanica.org</a>><br>
|
|
|
147 |
<b>Version:</b>
|
|
|
148 |
$Id: Registre.php 443 2013-10-22 15:09:30Z raphael $<br>
|
|
|
149 |
<b>Link:</b>
|
|
|
150 |
/doc/framework/<br>
|
465 |
jpm |
151 |
<b>Located at</b> <a href="source-class-Registre.html#3-65" title="Go to source code">Registre.php</a><br>
|
464 |
jpm |
152 |
</div>
|
|
|
153 |
|
|
|
154 |
|
|
|
155 |
|
|
|
156 |
<table class="summary" id="methods">
|
|
|
157 |
<caption>Methods summary</caption>
|
|
|
158 |
<tr data-order="set" id="_set">
|
|
|
159 |
|
|
|
160 |
<td class="attributes"><code>
|
|
|
161 |
public static
|
|
|
162 |
|
|
|
163 |
|
|
|
164 |
</code>
|
|
|
165 |
</td>
|
|
|
166 |
|
|
|
167 |
<td class="name"><div>
|
|
|
168 |
<a class="anchor" href="#_set">#</a>
|
|
|
169 |
<code><a href="source-class-Registre.html#24-37" title="Go to source code">set</a>( <span>string <var>$intitule</var></span>, <span>mixed <var>$objet</var></span> )</code>
|
|
|
170 |
|
|
|
171 |
<div class="description short">
|
|
|
172 |
|
|
|
173 |
<p>Ajoute un objet au tableau selon un intitulé donné.</p>
|
|
|
174 |
|
|
|
175 |
</div>
|
|
|
176 |
|
|
|
177 |
<div class="description detailed hidden">
|
|
|
178 |
|
|
|
179 |
<p>Ajoute un objet au tableau selon un intitulé donné.</p>
|
|
|
180 |
|
|
|
181 |
|
|
|
182 |
|
|
|
183 |
<h4>Parameters</h4>
|
|
|
184 |
<div class="list"><dl>
|
|
|
185 |
<dt><var>$intitule</var></dt>
|
|
|
186 |
<dd><code>string</code><br>l'intitulé sous lequel l'objet sera conservé</dd>
|
|
|
187 |
<dt><var>$objet</var></dt>
|
|
|
188 |
<dd><code>mixed</code><br>l'objet à conserver</dd>
|
|
|
189 |
</dl></div>
|
|
|
190 |
|
|
|
191 |
|
|
|
192 |
|
|
|
193 |
|
|
|
194 |
|
|
|
195 |
</div>
|
|
|
196 |
</div></td>
|
|
|
197 |
</tr>
|
|
|
198 |
<tr data-order="get" id="_get">
|
|
|
199 |
|
|
|
200 |
<td class="attributes"><code>
|
|
|
201 |
public static
|
|
|
202 |
mixed
|
|
|
203 |
|
|
|
204 |
</code>
|
|
|
205 |
</td>
|
|
|
206 |
|
|
|
207 |
<td class="name"><div>
|
|
|
208 |
<a class="anchor" href="#_get">#</a>
|
|
|
209 |
<code><a href="source-class-Registre.html#39-45" title="Go to source code">get</a>( <span>mixed <var>$intitule</var></span> )</code>
|
|
|
210 |
|
|
|
211 |
<div class="description short">
|
|
|
212 |
|
|
|
213 |
<p>Renvoie le contenu associé à l'intitulé donné en paramètre.</p>
|
|
|
214 |
|
|
|
215 |
</div>
|
|
|
216 |
|
|
|
217 |
<div class="description detailed hidden">
|
|
|
218 |
|
|
|
219 |
<p>Renvoie le contenu associé à l'intitulé donné en paramètre.</p>
|
|
|
220 |
|
|
|
221 |
|
|
|
222 |
|
|
|
223 |
|
|
|
224 |
<h4>Returns</h4>
|
|
|
225 |
<div class="list">
|
|
|
226 |
<code>mixed</code><br>l'objet associé à l'intitulé ou null s'il n'est pas présent<br>
|
|
|
227 |
</div>
|
|
|
228 |
|
|
|
229 |
|
|
|
230 |
|
|
|
231 |
|
|
|
232 |
</div>
|
|
|
233 |
</div></td>
|
|
|
234 |
</tr>
|
|
|
235 |
<tr data-order="detruire" id="_detruire">
|
|
|
236 |
|
|
|
237 |
<td class="attributes"><code>
|
|
|
238 |
public static
|
|
|
239 |
|
|
|
240 |
|
|
|
241 |
</code>
|
|
|
242 |
</td>
|
|
|
243 |
|
|
|
244 |
<td class="name"><div>
|
|
|
245 |
<a class="anchor" href="#_detruire">#</a>
|
|
|
246 |
<code><a href="source-class-Registre.html#47-55" title="Go to source code">detruire</a>( <span>string <var>$intitule</var></span> )</code>
|
|
|
247 |
|
|
|
248 |
<div class="description short">
|
|
|
249 |
|
|
|
250 |
<p>Détruit l'objet associé à l'intitulé, n'a pas d'effet si il n'y a pas
|
|
|
251 |
d'objet associé.</p>
|
|
|
252 |
|
|
|
253 |
</div>
|
|
|
254 |
|
|
|
255 |
<div class="description detailed hidden">
|
|
|
256 |
|
|
|
257 |
<p>Détruit l'objet associé à l'intitulé, n'a pas d'effet si il n'y a pas
|
|
|
258 |
d'objet associé.</p>
|
|
|
259 |
|
|
|
260 |
|
|
|
261 |
|
|
|
262 |
<h4>Parameters</h4>
|
|
|
263 |
<div class="list"><dl>
|
|
|
264 |
<dt><var>$intitule</var></dt>
|
|
|
265 |
<dd><code>string</code><br>l'intitulé de l'entrée du registre à détruire.</dd>
|
|
|
266 |
</dl></div>
|
|
|
267 |
|
|
|
268 |
|
|
|
269 |
|
|
|
270 |
|
|
|
271 |
|
|
|
272 |
</div>
|
|
|
273 |
</div></td>
|
|
|
274 |
</tr>
|
|
|
275 |
<tr data-order="existe" id="_existe">
|
|
|
276 |
|
|
|
277 |
<td class="attributes"><code>
|
|
|
278 |
public static
|
|
|
279 |
boolean
|
|
|
280 |
|
|
|
281 |
</code>
|
|
|
282 |
</td>
|
|
|
283 |
|
|
|
284 |
<td class="name"><div>
|
|
|
285 |
<a class="anchor" href="#_existe">#</a>
|
|
|
286 |
<code><a href="source-class-Registre.html#57-64" title="Go to source code">existe</a>( <span>string <var>$intitule</var></span> )</code>
|
|
|
287 |
|
|
|
288 |
<div class="description short">
|
|
|
289 |
|
|
|
290 |
<p>Teste si le registre contient une donnée pour un intitulé d'entrée
|
|
|
291 |
donné.</p>
|
|
|
292 |
|
|
|
293 |
</div>
|
|
|
294 |
|
|
|
295 |
<div class="description detailed hidden">
|
|
|
296 |
|
|
|
297 |
<p>Teste si le registre contient une donnée pour un intitulé d'entrée
|
|
|
298 |
donné.</p>
|
|
|
299 |
|
|
|
300 |
|
|
|
301 |
|
|
|
302 |
<h4>Parameters</h4>
|
|
|
303 |
<div class="list"><dl>
|
|
|
304 |
<dt><var>$intitule</var></dt>
|
|
|
305 |
<dd><code>string</code><br>l'intitulé de l'entrée du registre à tester.</dd>
|
|
|
306 |
</dl></div>
|
|
|
307 |
|
|
|
308 |
<h4>Returns</h4>
|
|
|
309 |
<div class="list">
|
|
|
310 |
<code>boolean</code><br>true si un objet associé à cet intitulé est présent, false sinon<br>
|
|
|
311 |
</div>
|
|
|
312 |
|
|
|
313 |
|
|
|
314 |
|
|
|
315 |
|
|
|
316 |
</div>
|
|
|
317 |
</div></td>
|
|
|
318 |
</tr>
|
|
|
319 |
</table>
|
|
|
320 |
|
|
|
321 |
|
|
|
322 |
|
|
|
323 |
|
|
|
324 |
|
|
|
325 |
|
|
|
326 |
|
|
|
327 |
|
|
|
328 |
|
|
|
329 |
|
|
|
330 |
|
|
|
331 |
|
|
|
332 |
|
|
|
333 |
|
|
|
334 |
|
|
|
335 |
|
|
|
336 |
|
|
|
337 |
|
|
|
338 |
</div>
|
|
|
339 |
|
|
|
340 |
<div id="footer">
|
465 |
jpm |
341 |
API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
|
464 |
jpm |
342 |
</div>
|
|
|
343 |
</div>
|
|
|
344 |
</div>
|
|
|
345 |
</body>
|
|
|
346 |
</html>
|