Subversion Repositories Applications.framework

Rev

Rev 300 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
159 jpm 1
<html>
2
<head>
3
<title>Docs For Class Registre</title>
4
<meta http-equiv='Content-Type' content='text/html; charset=UTF-8'/>
5
<link rel="stylesheet" type="text/css" href="../media/style.css">
6
</head>
7
<body>
8
 
9
<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
10
  <tr>
11
    <td class="header_top">Framework</td>
12
  </tr>
13
  <tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
14
  <tr>
15
    <td class="header_menu">
16
 
17
 
297 jpm 18
                                                                      		  [ <a href="../classtrees_Framework.html" class="menu">class tree: Framework</a> ]
159 jpm 19
		  [ <a href="../elementindex_Framework.html" class="menu">index: Framework</a> ]
20
		  	    [ <a href="../elementindex.html" class="menu">all elements</a> ]
21
    </td>
22
  </tr>
23
  <tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
24
</table>
25
 
26
<table width="100%" border="0" cellpadding="0" cellspacing="0">
27
  <tr valign="top">
28
    <td width="200" class="menu">
297 jpm 29
	<div id="todolist">
30
			<p><a href="../todolist.html">Todo List</a></p>
31
	</div>
159 jpm 32
      <b>Packages:</b><br />
33
              <a href="../li_Framework.html">Framework</a><br />
297 jpm 34
              <a href="../li_Utilitaire.html">Utilitaire</a><br />
35
              <a href="../li_Zend_OpenId.html">Zend_OpenId</a><br />
159 jpm 36
            <br /><br />
37
                        <b>Files:</b><br />
38
      	  <div class="package">
297 jpm 39
			<a href="../Framework/_Bdd.php.html">		Bdd.php
159 jpm 40
		</a><br>
297 jpm 41
			<a href="../Framework/_Cache.php.html">		Cache.php
159 jpm 42
		</a><br>
297 jpm 43
			<a href="../Framework/_CacheFichier.php.html">		CacheFichier.php
44
		</a><br>
45
			<a href="../Framework/_CacheSimple.php.html">		CacheSimple.php
46
		</a><br>
47
			<a href="../Framework/_CacheSqlite.php.html">		CacheSqlite.php
48
		</a><br>
159 jpm 49
			<a href="../Framework/_Chronometre.php.html">		Chronometre.php
50
		</a><br>
297 jpm 51
			<a href="../Framework/_Cli.php.html">		Cli.php
52
		</a><br>
159 jpm 53
			<a href="../Framework/_Config.php.html">		Config.php
54
		</a><br>
55
			<a href="../Framework/_Controleur.php.html">		Controleur.php
56
		</a><br>
57
			<a href="../Framework/_Debug.php.html">		Debug.php
58
		</a><br>
297 jpm 59
			<a href="../Framework/_utilitaires---DiffieHellmanUtil.php.html">		DiffieHellmanUtil.php
60
		</a><br>
61
			<a href="../Framework/_Framework.php.html">		Framework.php
62
		</a><br>
159 jpm 63
			<a href="../Framework/_GestionnaireException.php.html">		GestionnaireException.php
64
		</a><br>
297 jpm 65
			<a href="../Framework/_I18n.php.html">		I18n.php
66
		</a><br>
159 jpm 67
			<a href="../Framework/_Log.php.html">		Log.php
68
		</a><br>
297 jpm 69
			<a href="../Framework/_OpenIdClient.php.html">		OpenIdClient.php
159 jpm 70
		</a><br>
71
			<a href="../Framework/_Registre.php.html">		Registre.php
72
		</a><br>
297 jpm 73
			<a href="../Framework/_RestClient.php.html">		RestClient.php
74
		</a><br>
75
			<a href="../Framework/_RestServeur.php.html">		RestServeur.php
76
		</a><br>
77
			<a href="../Framework/_RestService.php.html">		RestService.php
78
		</a><br>
79
			<a href="../Framework/_Script.php.html">		Script.php
80
		</a><br>
159 jpm 81
			<a href="../Framework/_SquelettePhp.php.html">		SquelettePhp.php
82
		</a><br>
83
			<a href="../Framework/_Url.php.html">		Url.php
84
		</a><br>
85
	  </div><br />
86
 
87
 
88
            <b>Classes:</b><br />
89
        <div class="package">
297 jpm 90
		    		<a href="../Framework/Bdd.html">Bdd</a><br />
91
	    		<a href="../Framework/Cache.html">Cache</a><br />
92
	    		<a href="../Framework/CacheFichier.html">CacheFichier</a><br />
93
	    		<a href="../Framework/CacheSimple.html">CacheSimple</a><br />
94
	    		<a href="../Framework/CacheSqlite.html">CacheSqlite</a><br />
159 jpm 95
	    		<a href="../Framework/Chronometre.html">Chronometre</a><br />
297 jpm 96
	    		<a href="../Framework/Cli.html">Cli</a><br />
159 jpm 97
	    		<a href="../Framework/Config.html">Config</a><br />
98
	    		<a href="../Framework/Controleur.html">Controleur</a><br />
99
	    		<a href="../Framework/Debug.html">Debug</a><br />
297 jpm 100
	    		<a href="../Framework/DiffieHellmanUtil.html">DiffieHellmanUtil</a><br />
101
	    		<a href="../Framework/Framework.html">Framework</a><br />
159 jpm 102
	    		<a href="../Framework/GestionnaireException.html">GestionnaireException</a><br />
297 jpm 103
	    		<a href="../Framework/I18n.html">I18n</a><br />
159 jpm 104
	    		<a href="../Framework/Log.html">Log</a><br />
297 jpm 105
	    		<a href="../Framework/OpenIdClient.html">OpenIdClient</a><br />
159 jpm 106
	    		<a href="../Framework/Registre.html">Registre</a><br />
297 jpm 107
	    		<a href="../Framework/RestClient.html">RestClient</a><br />
108
	    		<a href="../Framework/RestServeur.html">RestServeur</a><br />
109
	    		<a href="../Framework/RestService.html">RestService</a><br />
110
	    		<a href="../Framework/Script.html">Script</a><br />
159 jpm 111
	    		<a href="../Framework/SquelettePhp.html">SquelettePhp</a><br />
112
	    		<a href="../Framework/Url.html">Url</a><br />
113
	  </div>
114
                </td>
115
    <td>
116
      <table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">
117
 
118
<h1>Class: Registre</h1>
119
Source Location: /Registre.php<br /><br />
120
 
121
 
122
<table width="100%" border="0">
123
<tr><td valign="top">
124
 
125
<h3><a href="#class_details">Class Overview</a></h3>
126
<pre></pre><br />
297 jpm 127
<div class="description">Classe Registre, qui permet un accès à différentes variables et paramètres à travers les autres classes.</div><br /><br />
159 jpm 128
<h4>Author(s):</h4>
129
<ul>
297 jpm 130
          <li>Jean-Pascal MILCENT &lt;<a href="mailto:jmp@tela-botanica.org">jmp@tela-botanica.org</a>&gt;</li>
159 jpm 131
                                    </ul>
132
 
133
 
134
 
135
 
136
 
137
 
138
 
139
<h4>Version:</h4>
140
<ul>
297 jpm 141
  <li>$Id: Registre.php 239 2010-11-25 18:04:00Z jpm $</li>
159 jpm 142
</ul>
143
 
144
<h4>Copyright:</h4>
145
<ul>
297 jpm 146
  <li>Copyright (c) 2009, Tela Botanica (accueil@tela-botanica.org)</li>
159 jpm 147
</ul>
148
 
149
</td>
150
 
151
 
152
 
153
<td valign="top">
154
<h3><a href="#class_methods">Methods</a></h3>
155
<ul>
156
    <li><a href="../Framework/Registre.html#methoddetruire">detruire</a></li>
157
    <li><a href="../Framework/Registre.html#methodexiste">existe</a></li>
158
    <li><a href="../Framework/Registre.html#methodget">get</a></li>
159
    <li><a href="../Framework/Registre.html#methodset">set</a></li>
160
  </ul>
161
</td>
162
 
163
</tr></table>
164
<hr />
165
 
166
<table width="100%" border="0"><tr>
167
 
168
 
169
 
170
 
171
 
172
 
173
</tr></table>
174
<hr />
175
 
176
<a name="class_details"></a>
177
<h3>Class Details</h3>
178
<div class="tags">
302 jpm 179
[line <a href="../__filesource/fsource_Framework__Registre.php.html#a19">19</a>]<br />
180
Classe Registre, qui permet un accès à différentes variables et paramètres à travers les autres classes.<br /><br /><p>C'est un remplaçant à la variable magique $_GLOBALS de Php.  C'est un singleton.  Si vous voulez paramètré votre application via un fichier de configuration, utilisez plutôt la classe @see Config.</p><br /><br /><br />
159 jpm 181
<h4>Tags:</h4>
182
<div class="tags">
183
<table border="0" cellspacing="0" cellpadding="0">
184
  <tr>
297 jpm 185
    <td><b>author:</b>&nbsp;&nbsp;</td><td>Jean-Pascal MILCENT &lt;<a href="mailto:jmp@tela-botanica.org">jmp@tela-botanica.org</a>&gt;</td>
159 jpm 186
  </tr>
187
  <tr>
297 jpm 188
    <td><b>version:</b>&nbsp;&nbsp;</td><td>$Id: Registre.php 239 2010-11-25 18:04:00Z jpm $</td>
159 jpm 189
  </tr>
190
  <tr>
297 jpm 191
    <td><b>copyright:</b>&nbsp;&nbsp;</td><td>Copyright (c) 2009, Tela Botanica (accueil@tela-botanica.org)</td>
159 jpm 192
  </tr>
193
  <tr>
194
    <td><b>link:</b>&nbsp;&nbsp;</td><td>/doc/framework/</td>
195
  </tr>
196
  <tr>
197
    <td><b>license:</b>&nbsp;&nbsp;</td><td><a href="http://www.gnu.org/licenses/gpl.html">Licence GNU-GPL</a></td>
198
  </tr>
199
  <tr>
200
    <td><b>license:</b>&nbsp;&nbsp;</td><td><a href="http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt">Licence CECILL</a></td>
201
  </tr>
202
</table>
203
</div>
204
</div><br /><br />
205
<div class="top">[ <a href="#top">Top</a> ]</div><br />
206
 
207
 
208
<hr />
209
<a name="class_methods"></a>
210
<h3>Class Methods</h3>
211
<div class="tags">
212
  <hr />
213
	<a name="methoddetruire"></a>
302 jpm 214
	<h3>static method detruire <span class="smalllinenumber">[line <a href="../__filesource/fsource_Framework__Registre.php.html#a52">52</a>]</span></h3>
159 jpm 215
	<div class="function">
216
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
217
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
297 jpm 218
		<code>static void detruire(
219
string
159 jpm 220
$intitule)</code>
221
    </td></tr></table>
222
    </td></tr></table><br />
223
 
297 jpm 224
		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 />
159 jpm 225
<h4>Tags:</h4>
226
<div class="tags">
227
<table border="0" cellspacing="0" cellpadding="0">
228
  <tr>
229
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
230
  </tr>
231
</table>
232
</div>
233
<br /><br />
234
 
235
 
236
        <h4>Parameters:</h4>
237
    <div class="tags">
238
    <table border="0" cellspacing="0" cellpadding="0">
239
          <tr>
297 jpm 240
        <td class="type">string&nbsp;&nbsp;</td>
159 jpm 241
        <td><b>$intitule</b>&nbsp;&nbsp;</td>
297 jpm 242
        <td>l'intitulé de l'entrée du registre à détruire.</td>
159 jpm 243
      </tr>
244
        </table>
245
    </div><br />
246
        <div class="top">[ <a href="#top">Top</a> ]</div>
247
  </div>
248
  <hr />
249
	<a name="methodexiste"></a>
302 jpm 250
	<h3>static method existe <span class="smalllinenumber">[line <a href="../__filesource/fsource_Framework__Registre.php.html#a63">63</a>]</span></h3>
159 jpm 251
	<div class="function">
252
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
253
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
297 jpm 254
		<code>static boolean existe(
255
string
159 jpm 256
$intitule)</code>
257
    </td></tr></table>
258
    </td></tr></table><br />
259
 
297 jpm 260
		Teste si le registre contient une donnée pour un intitulé d'entrée donné.<br /><br /><br /><br />
159 jpm 261
<h4>Tags:</h4>
262
<div class="tags">
263
<table border="0" cellspacing="0" cellpadding="0">
264
  <tr>
265
    <td><b>return:</b>&nbsp;&nbsp;</td><td>true si un objet associé à cet intitulé est présent, false sinon</td>
266
  </tr>
267
  <tr>
268
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
269
  </tr>
270
</table>
271
</div>
272
<br /><br />
273
 
274
 
275
        <h4>Parameters:</h4>
276
    <div class="tags">
277
    <table border="0" cellspacing="0" cellpadding="0">
278
          <tr>
297 jpm 279
        <td class="type">string&nbsp;&nbsp;</td>
159 jpm 280
        <td><b>$intitule</b>&nbsp;&nbsp;</td>
297 jpm 281
        <td>l'intitulé de l'entrée du registre à tester.</td>
159 jpm 282
      </tr>
283
        </table>
284
    </div><br />
285
        <div class="top">[ <a href="#top">Top</a> ]</div>
286
  </div>
287
  <hr />
288
	<a name="methodget"></a>
302 jpm 289
	<h3>static method get <span class="smalllinenumber">[line <a href="../__filesource/fsource_Framework__Registre.php.html#a43">43</a>]</span></h3>
159 jpm 290
	<div class="function">
291
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
292
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
297 jpm 293
		<code>static mixed get(
159 jpm 294
 
295
$intitule)</code>
296
    </td></tr></table>
297
    </td></tr></table><br />
298
 
297 jpm 299
		Renvoie le contenu associé à l'intitulé donné en paramètre.<br /><br /><br /><br />
159 jpm 300
<h4>Tags:</h4>
301
<div class="tags">
302
<table border="0" cellspacing="0" cellpadding="0">
303
  <tr>
304
    <td><b>return:</b>&nbsp;&nbsp;</td><td>l'objet associé à l'intitulé ou null s'il n'est pas présent</td>
305
  </tr>
306
  <tr>
307
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
308
  </tr>
309
</table>
310
</div>
311
<br /><br />
312
 
313
 
314
        <h4>Parameters:</h4>
315
    <div class="tags">
316
    <table border="0" cellspacing="0" cellpadding="0">
317
          <tr>
318
        <td class="type">&nbsp;&nbsp;</td>
319
        <td><b>$intitule</b>&nbsp;&nbsp;</td>
320
        <td></td>
321
      </tr>
322
        </table>
323
    </div><br />
324
        <div class="top">[ <a href="#top">Top</a> ]</div>
325
  </div>
326
  <hr />
327
	<a name="methodset"></a>
302 jpm 328
	<h3>static method set <span class="smalllinenumber">[line <a href="../__filesource/fsource_Framework__Registre.php.html#a29">29</a>]</span></h3>
159 jpm 329
	<div class="function">
330
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
331
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
297 jpm 332
		<code>static void set(
159 jpm 333
string
334
$intitule, mixed
335
$objet)</code>
336
    </td></tr></table>
337
    </td></tr></table><br />
338
 
297 jpm 339
		Ajoute un objet au tableau selon un intitulé donné.<br /><br /><br /><br />
159 jpm 340
<h4>Tags:</h4>
341
<div class="tags">
342
<table border="0" cellspacing="0" cellpadding="0">
343
  <tr>
344
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
345
  </tr>
346
</table>
347
</div>
348
<br /><br />
349
 
350
 
351
        <h4>Parameters:</h4>
352
    <div class="tags">
353
    <table border="0" cellspacing="0" cellpadding="0">
354
          <tr>
355
        <td class="type">string&nbsp;&nbsp;</td>
356
        <td><b>$intitule</b>&nbsp;&nbsp;</td>
357
        <td>l'intitulé sous lequel l'objet sera conservé</td>
358
      </tr>
359
          <tr>
360
        <td class="type">mixed&nbsp;&nbsp;</td>
361
        <td><b>$objet</b>&nbsp;&nbsp;</td>
362
        <td>l'objet à conserver</td>
363
      </tr>
364
        </table>
365
    </div><br />
366
        <div class="top">[ <a href="#top">Top</a> ]</div>
367
  </div>
297 jpm 368
 
159 jpm 369
</div><br />
370
 
371
 
372
        <div class="credit">
373
		    <hr />
302 jpm 374
		    Documentation generated on Tue, 18 Jan 2011 15:31:25 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
159 jpm 375
	      </div>
376
      </td></tr></table>
377
    </td>
378
  </tr>
379
</table>
380
 
381
</body>
382
</html>