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