Subversion Repositories Applications.framework

Rev

Rev 297 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 297 Rev 300
1
<html>
1
<html>
2
<head>
2
<head>
3
<title>Docs For Class Cli</title>
3
<title>Docs For Class Cli</title>
4
<meta http-equiv='Content-Type' content='text/html; charset=UTF-8'/>
4
<meta http-equiv='Content-Type' content='text/html; charset=UTF-8'/>
5
<link rel="stylesheet" type="text/css" href="../media/style.css">
5
<link rel="stylesheet" type="text/css" href="../media/style.css">
6
</head>
6
</head>
7
<body>
7
<body>
8
 
8
 
9
<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
9
<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
10
  <tr>
10
  <tr>
11
    <td class="header_top">Framework</td>
11
    <td class="header_top">Framework</td>
12
  </tr>
12
  </tr>
13
  <tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
13
  <tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
14
  <tr>
14
  <tr>
15
    <td class="header_menu">
15
    <td class="header_menu">
16
        
16
        
17
                                    
17
                                    
18
                                                                      		  [ <a href="../classtrees_Framework.html" class="menu">class tree: Framework</a> ]
18
                                                                      		  [ <a href="../classtrees_Framework.html" class="menu">class tree: Framework</a> ]
19
		  [ <a href="../elementindex_Framework.html" class="menu">index: Framework</a> ]
19
		  [ <a href="../elementindex_Framework.html" class="menu">index: Framework</a> ]
20
		  	    [ <a href="../elementindex.html" class="menu">all elements</a> ]
20
		  	    [ <a href="../elementindex.html" class="menu">all elements</a> ]
21
    </td>
21
    </td>
22
  </tr>
22
  </tr>
23
  <tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
23
  <tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
24
</table>
24
</table>
25
 
25
 
26
<table width="100%" border="0" cellpadding="0" cellspacing="0">
26
<table width="100%" border="0" cellpadding="0" cellspacing="0">
27
  <tr valign="top">
27
  <tr valign="top">
28
    <td width="200" class="menu">
28
    <td width="200" class="menu">
29
	<div id="todolist">
29
	<div id="todolist">
30
			<p><a href="../todolist.html">Todo List</a></p>
30
			<p><a href="../todolist.html">Todo List</a></p>
31
	</div>
31
	</div>
32
      <b>Packages:</b><br />
32
      <b>Packages:</b><br />
33
              <a href="../li_Framework.html">Framework</a><br />
33
              <a href="../li_Framework.html">Framework</a><br />
34
              <a href="../li_Utilitaire.html">Utilitaire</a><br />
34
              <a href="../li_Utilitaire.html">Utilitaire</a><br />
35
              <a href="../li_Zend_OpenId.html">Zend_OpenId</a><br />
35
              <a href="../li_Zend_OpenId.html">Zend_OpenId</a><br />
36
            <br /><br />
36
            <br /><br />
37
                        <b>Files:</b><br />
37
                        <b>Files:</b><br />
38
      	  <div class="package">
38
      	  <div class="package">
39
			<a href="../Framework/_Bdd.php.html">		Bdd.php
39
			<a href="../Framework/_Bdd.php.html">		Bdd.php
40
		</a><br>
40
		</a><br>
41
			<a href="../Framework/_Cache.php.html">		Cache.php
41
			<a href="../Framework/_Cache.php.html">		Cache.php
42
		</a><br>
42
		</a><br>
43
			<a href="../Framework/_CacheFichier.php.html">		CacheFichier.php
43
			<a href="../Framework/_CacheFichier.php.html">		CacheFichier.php
44
		</a><br>
44
		</a><br>
45
			<a href="../Framework/_CacheSimple.php.html">		CacheSimple.php
45
			<a href="../Framework/_CacheSimple.php.html">		CacheSimple.php
46
		</a><br>
46
		</a><br>
47
			<a href="../Framework/_CacheSqlite.php.html">		CacheSqlite.php
47
			<a href="../Framework/_CacheSqlite.php.html">		CacheSqlite.php
48
		</a><br>
48
		</a><br>
49
			<a href="../Framework/_Chronometre.php.html">		Chronometre.php
49
			<a href="../Framework/_Chronometre.php.html">		Chronometre.php
50
		</a><br>
50
		</a><br>
51
			<a href="../Framework/_Cli.php.html">		Cli.php
51
			<a href="../Framework/_Cli.php.html">		Cli.php
52
		</a><br>
52
		</a><br>
53
			<a href="../Framework/_Config.php.html">		Config.php
53
			<a href="../Framework/_Config.php.html">		Config.php
54
		</a><br>
54
		</a><br>
55
			<a href="../Framework/_Controleur.php.html">		Controleur.php
55
			<a href="../Framework/_Controleur.php.html">		Controleur.php
56
		</a><br>
56
		</a><br>
57
			<a href="../Framework/_Debug.php.html">		Debug.php
57
			<a href="../Framework/_Debug.php.html">		Debug.php
58
		</a><br>
58
		</a><br>
59
			<a href="../Framework/_utilitaires---DiffieHellmanUtil.php.html">		DiffieHellmanUtil.php
59
			<a href="../Framework/_utilitaires---DiffieHellmanUtil.php.html">		DiffieHellmanUtil.php
60
		</a><br>
60
		</a><br>
61
			<a href="../Framework/_Framework.php.html">		Framework.php
61
			<a href="../Framework/_Framework.php.html">		Framework.php
62
		</a><br>
62
		</a><br>
63
			<a href="../Framework/_GestionnaireException.php.html">		GestionnaireException.php
63
			<a href="../Framework/_GestionnaireException.php.html">		GestionnaireException.php
64
		</a><br>
64
		</a><br>
65
			<a href="../Framework/_I18n.php.html">		I18n.php
65
			<a href="../Framework/_I18n.php.html">		I18n.php
66
		</a><br>
66
		</a><br>
67
			<a href="../Framework/_Log.php.html">		Log.php
67
			<a href="../Framework/_Log.php.html">		Log.php
68
		</a><br>
68
		</a><br>
69
			<a href="../Framework/_OpenIdClient.php.html">		OpenIdClient.php
69
			<a href="../Framework/_OpenIdClient.php.html">		OpenIdClient.php
70
		</a><br>
70
		</a><br>
71
			<a href="../Framework/_Registre.php.html">		Registre.php
71
			<a href="../Framework/_Registre.php.html">		Registre.php
72
		</a><br>
72
		</a><br>
73
			<a href="../Framework/_RestClient.php.html">		RestClient.php
73
			<a href="../Framework/_RestClient.php.html">		RestClient.php
74
		</a><br>
74
		</a><br>
75
			<a href="../Framework/_RestServeur.php.html">		RestServeur.php
75
			<a href="../Framework/_RestServeur.php.html">		RestServeur.php
76
		</a><br>
76
		</a><br>
77
			<a href="../Framework/_RestService.php.html">		RestService.php
77
			<a href="../Framework/_RestService.php.html">		RestService.php
78
		</a><br>
78
		</a><br>
79
			<a href="../Framework/_Script.php.html">		Script.php
79
			<a href="../Framework/_Script.php.html">		Script.php
80
		</a><br>
80
		</a><br>
81
			<a href="../Framework/_SquelettePhp.php.html">		SquelettePhp.php
81
			<a href="../Framework/_SquelettePhp.php.html">		SquelettePhp.php
82
		</a><br>
82
		</a><br>
83
			<a href="../Framework/_Url.php.html">		Url.php
83
			<a href="../Framework/_Url.php.html">		Url.php
84
		</a><br>
84
		</a><br>
85
	  </div><br />
85
	  </div><br />
86
      
86
      
87
      
87
      
88
            <b>Classes:</b><br />
88
            <b>Classes:</b><br />
89
        <div class="package">
89
        <div class="package">
90
		    		<a href="../Framework/Bdd.html">Bdd</a><br />
90
		    		<a href="../Framework/Bdd.html">Bdd</a><br />
91
	    		<a href="../Framework/Cache.html">Cache</a><br />
91
	    		<a href="../Framework/Cache.html">Cache</a><br />
92
	    		<a href="../Framework/CacheFichier.html">CacheFichier</a><br />
92
	    		<a href="../Framework/CacheFichier.html">CacheFichier</a><br />
93
	    		<a href="../Framework/CacheSimple.html">CacheSimple</a><br />
93
	    		<a href="../Framework/CacheSimple.html">CacheSimple</a><br />
94
	    		<a href="../Framework/CacheSqlite.html">CacheSqlite</a><br />
94
	    		<a href="../Framework/CacheSqlite.html">CacheSqlite</a><br />
95
	    		<a href="../Framework/Chronometre.html">Chronometre</a><br />
95
	    		<a href="../Framework/Chronometre.html">Chronometre</a><br />
96
	    		<a href="../Framework/Cli.html">Cli</a><br />
96
	    		<a href="../Framework/Cli.html">Cli</a><br />
97
	    		<a href="../Framework/Config.html">Config</a><br />
97
	    		<a href="../Framework/Config.html">Config</a><br />
98
	    		<a href="../Framework/Controleur.html">Controleur</a><br />
98
	    		<a href="../Framework/Controleur.html">Controleur</a><br />
99
	    		<a href="../Framework/Debug.html">Debug</a><br />
99
	    		<a href="../Framework/Debug.html">Debug</a><br />
100
	    		<a href="../Framework/DiffieHellmanUtil.html">DiffieHellmanUtil</a><br />
100
	    		<a href="../Framework/DiffieHellmanUtil.html">DiffieHellmanUtil</a><br />
101
	    		<a href="../Framework/Framework.html">Framework</a><br />
101
	    		<a href="../Framework/Framework.html">Framework</a><br />
102
	    		<a href="../Framework/GestionnaireException.html">GestionnaireException</a><br />
102
	    		<a href="../Framework/GestionnaireException.html">GestionnaireException</a><br />
103
	    		<a href="../Framework/I18n.html">I18n</a><br />
103
	    		<a href="../Framework/I18n.html">I18n</a><br />
104
	    		<a href="../Framework/Log.html">Log</a><br />
104
	    		<a href="../Framework/Log.html">Log</a><br />
105
	    		<a href="../Framework/OpenIdClient.html">OpenIdClient</a><br />
105
	    		<a href="../Framework/OpenIdClient.html">OpenIdClient</a><br />
106
	    		<a href="../Framework/Registre.html">Registre</a><br />
106
	    		<a href="../Framework/Registre.html">Registre</a><br />
107
	    		<a href="../Framework/RestClient.html">RestClient</a><br />
107
	    		<a href="../Framework/RestClient.html">RestClient</a><br />
108
	    		<a href="../Framework/RestServeur.html">RestServeur</a><br />
108
	    		<a href="../Framework/RestServeur.html">RestServeur</a><br />
109
	    		<a href="../Framework/RestService.html">RestService</a><br />
109
	    		<a href="../Framework/RestService.html">RestService</a><br />
110
	    		<a href="../Framework/Script.html">Script</a><br />
110
	    		<a href="../Framework/Script.html">Script</a><br />
111
	    		<a href="../Framework/SquelettePhp.html">SquelettePhp</a><br />
111
	    		<a href="../Framework/SquelettePhp.html">SquelettePhp</a><br />
112
	    		<a href="../Framework/Url.html">Url</a><br />
112
	    		<a href="../Framework/Url.html">Url</a><br />
113
	  </div>
113
	  </div>
114
                </td>
114
                </td>
115
    <td>
115
    <td>
116
      <table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">
116
      <table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">
117
 
117
 
118
<h1>Class: Cli</h1>
118
<h1>Class: Cli</h1>
119
Source Location: /Cli.php<br /><br />
119
Source Location: /Cli.php<br /><br />
120
 
120
 
121
 
121
 
122
<table width="100%" border="0">
122
<table width="100%" border="0">
123
<tr><td valign="top">
123
<tr><td valign="top">
124
 
124
 
125
<h3><a href="#class_details">Class Overview</a></h3>
125
<h3><a href="#class_details">Class Overview</a></h3>
126
<pre></pre><br />
126
<pre></pre><br />
127
<div class="description">CLI permet de récupérer les paramètres passés en ligne de commande pour instancier une classe héritant de la classe abstraite  Script.</div><br /><br />
127
<div class="description">CLI permet de récupérer les paramètres passés en ligne de commande pour instancier une classe héritant de la classe abstraite  Script.</div><br /><br />
128
<h4>Author(s):</h4>
128
<h4>Author(s):</h4>
129
<ul>
129
<ul>
130
          <li>Delphine CAUQUIL &lt;<a href="mailto:delphine@tela-botanica.org">delphine@tela-botanica.org</a>&gt;</li>
130
          <li>Delphine CAUQUIL &lt;<a href="mailto:delphine@tela-botanica.org">delphine@tela-botanica.org</a>&gt;</li>
131
              <li>Jean-Pascal MILCENT &lt;<a href="mailto:jpm@tela-botanica.org">jpm@tela-botanica.org</a>&gt;</li>
131
              <li>Jean-Pascal MILCENT &lt;<a href="mailto:jpm@tela-botanica.org">jpm@tela-botanica.org</a>&gt;</li>
132
                                          </ul>
132
                                          </ul>
133
 
133
 
134
 
134
 
135
 
135
 
136
 
136
 
137
            
137
            
138
          
138
          
139
                  
139
                  
140
<h4>Version:</h4>
140
<h4>Version:</h4>
141
<ul>
141
<ul>
142
  <li>$Id$</li>
142
  <li>$Id: Cli.php 299 2011-01-18 14:03:46Z jpm $</li>
143
</ul>
143
</ul>
144
 
144
 
145
<h4>Copyright:</h4>
145
<h4>Copyright:</h4>
146
<ul>
146
<ul>
147
  <li>Copyright (c) 2010, Tela Botanica (accueil@tela-botanica.org)</li>
147
  <li>Copyright (c) 2010, Tela Botanica (accueil@tela-botanica.org)</li>
148
</ul>
148
</ul>
149
        
149
        
150
</td>
150
</td>
151
 
151
 
152
 
152
 
153
 
153
 
154
<td valign="top">
154
<td valign="top">
155
<h3><a href="#class_methods">Methods</a></h3>
155
<h3><a href="#class_methods">Methods</a></h3>
156
<ul>
156
<ul>
157
    <li><a href="../Framework/Cli.html#methodexecuter">executer</a></li>
157
    <li><a href="../Framework/Cli.html#methodexecuter">executer</a></li>
158
  </ul>
158
  </ul>
159
</td>
159
</td>
160
 
160
 
161
</tr></table>
161
</tr></table>
162
<hr />
162
<hr />
163
 
163
 
164
<table width="100%" border="0"><tr>
164
<table width="100%" border="0"><tr>
165
 
165
 
166
 
166
 
167
 
167
 
168
 
168
 
169
 
169
 
170
 
170
 
171
</tr></table>
171
</tr></table>
172
<hr />
172
<hr />
173
 
173
 
174
<a name="class_details"></a>
174
<a name="class_details"></a>
175
<h3>Class Details</h3>
175
<h3>Class Details</h3>
176
<div class="tags">
176
<div class="tags">
177
[line <a href="../__filesource/fsource_Framework__Cli.php.html#a21">21</a>]<br />
177
[line <a href="../__filesource/fsource_Framework__Cli.php.html#a21">21</a>]<br />
178
CLI permet de récupérer les paramètres passés en ligne de commande pour instancier une classe héritant de la classe abstraite  Script.<br /><br /><p>Elle va déclencher l'éxecution du script via l'appel de la méthode executer().  C'est une Singleton.</p><br /><br /><br />
178
CLI permet de récupérer les paramètres passés en ligne de commande pour instancier une classe héritant de la classe abstraite  Script.<br /><br /><p>Elle va déclencher l'éxecution du script via l'appel de la méthode executer().  C'est une Singleton.</p><br /><br /><br />
179
<h4>Tags:</h4>
179
<h4>Tags:</h4>
180
<div class="tags">
180
<div class="tags">
181
<table border="0" cellspacing="0" cellpadding="0">
181
<table border="0" cellspacing="0" cellpadding="0">
182
  <tr>
182
  <tr>
183
    <td><b>author:</b>&nbsp;&nbsp;</td><td>Delphine CAUQUIL &lt;<a href="mailto:delphine@tela-botanica.org">delphine@tela-botanica.org</a>&gt;</td>
183
    <td><b>author:</b>&nbsp;&nbsp;</td><td>Delphine CAUQUIL &lt;<a href="mailto:delphine@tela-botanica.org">delphine@tela-botanica.org</a>&gt;</td>
184
  </tr>
184
  </tr>
185
  <tr>
185
  <tr>
186
    <td><b>author:</b>&nbsp;&nbsp;</td><td>Jean-Pascal MILCENT &lt;<a href="mailto:jpm@tela-botanica.org">jpm@tela-botanica.org</a>&gt;</td>
186
    <td><b>author:</b>&nbsp;&nbsp;</td><td>Jean-Pascal MILCENT &lt;<a href="mailto:jpm@tela-botanica.org">jpm@tela-botanica.org</a>&gt;</td>
187
  </tr>
187
  </tr>
188
  <tr>
188
  <tr>
189
    <td><b>version:</b>&nbsp;&nbsp;</td><td>$Id$</td>
189
    <td><b>version:</b>&nbsp;&nbsp;</td><td>$Id: Cli.php 299 2011-01-18 14:03:46Z jpm $</td>
190
  </tr>
190
  </tr>
191
  <tr>
191
  <tr>
192
    <td><b>copyright:</b>&nbsp;&nbsp;</td><td>Copyright (c) 2010, Tela Botanica (accueil@tela-botanica.org)</td>
192
    <td><b>copyright:</b>&nbsp;&nbsp;</td><td>Copyright (c) 2010, Tela Botanica (accueil@tela-botanica.org)</td>
193
  </tr>
193
  </tr>
194
  <tr>
194
  <tr>
195
    <td><b>link:</b>&nbsp;&nbsp;</td><td>/doc/framework/</td>
195
    <td><b>link:</b>&nbsp;&nbsp;</td><td>/doc/framework/</td>
196
  </tr>
196
  </tr>
197
  <tr>
197
  <tr>
198
    <td><b>since:</b>&nbsp;&nbsp;</td><td>0.3</td>
198
    <td><b>since:</b>&nbsp;&nbsp;</td><td>0.3</td>
199
  </tr>
199
  </tr>
200
  <tr>
200
  <tr>
201
    <td><b>license:</b>&nbsp;&nbsp;</td><td><a href="http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt">Licence CECILL-v2</a></td>
201
    <td><b>license:</b>&nbsp;&nbsp;</td><td><a href="http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt">Licence CECILL-v2</a></td>
202
  </tr>
202
  </tr>
203
  <tr>
203
  <tr>
204
    <td><b>license:</b>&nbsp;&nbsp;</td><td><a href="http://www.gnu.org/licenses/gpl.html">Licence GNU-GPL-v3</a></td>
204
    <td><b>license:</b>&nbsp;&nbsp;</td><td><a href="http://www.gnu.org/licenses/gpl.html">Licence GNU-GPL-v3</a></td>
205
  </tr>
205
  </tr>
206
</table>
206
</table>
207
</div>
207
</div>
208
</div><br /><br />
208
</div><br /><br />
209
<div class="top">[ <a href="#top">Top</a> ]</div><br />
209
<div class="top">[ <a href="#top">Top</a> ]</div><br />
210
 
210
 
211
 
211
 
212
<hr />
212
<hr />
213
<a name="class_methods"></a>
213
<a name="class_methods"></a>
214
<h3>Class Methods</h3>
214
<h3>Class Methods</h3>
215
<div class="tags">
215
<div class="tags">
216
  <hr />
216
  <hr />
217
	<a name="methodexecuter"></a>
217
	<a name="methodexecuter"></a>
218
	<h3>static method executer <span class="smalllinenumber">[line <a href="../__filesource/fsource_Framework__Cli.php.html#a32">32</a>]</span></h3>
218
	<h3>static method executer <span class="smalllinenumber">[line <a href="../__filesource/fsource_Framework__Cli.php.html#a32">32</a>]</span></h3>
219
	<div class="function">
219
	<div class="function">
220
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
220
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
221
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
221
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
222
		<code>static void executer(
222
		<code>static void executer(
223
)</code>
223
)</code>
224
    </td></tr></table>
224
    </td></tr></table>
225
    </td></tr></table><br />
225
    </td></tr></table><br />
226
	
226
	
227
		Execute la ligne de commande en récupérant le nom du script à lancer et ses paramètres.<br /><br /><p>Instancie la classe du script à lancer et appelle la méthode executer().</p><br /><br /><br />
227
		Execute la ligne de commande en récupérant le nom du script à lancer et ses paramètres.<br /><br /><p>Instancie la classe du script à lancer et appelle la méthode executer().</p><br /><br /><br />
228
<h4>Tags:</h4>
228
<h4>Tags:</h4>
229
<div class="tags">
229
<div class="tags">
230
<table border="0" cellspacing="0" cellpadding="0">
230
<table border="0" cellspacing="0" cellpadding="0">
231
  <tr>
231
  <tr>
232
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
232
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
233
  </tr>
233
  </tr>
234
</table>
234
</table>
235
</div>
235
</div>
236
<br /><br />
236
<br /><br />
237
 
237
 
238
	
238
	
239
        <div class="top">[ <a href="#top">Top</a> ]</div>
239
        <div class="top">[ <a href="#top">Top</a> ]</div>
240
  </div>
240
  </div>
241
 
241
 
242
</div><br />
242
</div><br />
243
 
243
 
244
 
244
 
245
        <div class="credit">
245
        <div class="credit">
246
		    <hr />
246
		    <hr />
247
		    Documentation generated on Tue, 18 Jan 2011 15:01:57 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
247
		    Documentation generated on Tue, 18 Jan 2011 15:13:39 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
248
	      </div>
248
	      </div>
249
      </td></tr></table>
249
      </td></tr></table>
250
    </td>
250
    </td>
251
  </tr>
251
  </tr>
252
</table>
252
</table>
253
 
253
 
254
</body>
254
</body>
255
</html>
255
</html>