297 |
jpm |
1 |
<html>
|
|
|
2 |
<head>
|
|
|
3 |
<title>Docs For Class Cli</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 |
|
|
|
18 |
[ <a href="../classtrees_Framework.html" class="menu">class tree: Framework</a> ]
|
|
|
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">
|
|
|
29 |
<div id="todolist">
|
|
|
30 |
<p><a href="../todolist.html">Todo List</a></p>
|
|
|
31 |
</div>
|
|
|
32 |
<b>Packages:</b><br />
|
|
|
33 |
<a href="../li_Framework.html">Framework</a><br />
|
|
|
34 |
<a href="../li_Utilitaire.html">Utilitaire</a><br />
|
|
|
35 |
<a href="../li_Zend_OpenId.html">Zend_OpenId</a><br />
|
|
|
36 |
<br /><br />
|
|
|
37 |
<b>Files:</b><br />
|
|
|
38 |
<div class="package">
|
|
|
39 |
<a href="../Framework/_Bdd.php.html"> Bdd.php
|
|
|
40 |
</a><br>
|
|
|
41 |
<a href="../Framework/_Cache.php.html"> Cache.php
|
|
|
42 |
</a><br>
|
|
|
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>
|
|
|
49 |
<a href="../Framework/_Chronometre.php.html"> Chronometre.php
|
|
|
50 |
</a><br>
|
|
|
51 |
<a href="../Framework/_Cli.php.html"> Cli.php
|
|
|
52 |
</a><br>
|
|
|
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>
|
|
|
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>
|
|
|
63 |
<a href="../Framework/_GestionnaireException.php.html"> GestionnaireException.php
|
|
|
64 |
</a><br>
|
|
|
65 |
<a href="../Framework/_I18n.php.html"> I18n.php
|
|
|
66 |
</a><br>
|
|
|
67 |
<a href="../Framework/_Log.php.html"> Log.php
|
|
|
68 |
</a><br>
|
|
|
69 |
<a href="../Framework/_OpenIdClient.php.html"> OpenIdClient.php
|
|
|
70 |
</a><br>
|
|
|
71 |
<a href="../Framework/_Registre.php.html"> Registre.php
|
|
|
72 |
</a><br>
|
|
|
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>
|
|
|
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">
|
|
|
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 />
|
|
|
95 |
<a href="../Framework/Chronometre.html">Chronometre</a><br />
|
|
|
96 |
<a href="../Framework/Cli.html">Cli</a><br />
|
|
|
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 />
|
|
|
100 |
<a href="../Framework/DiffieHellmanUtil.html">DiffieHellmanUtil</a><br />
|
|
|
101 |
<a href="../Framework/Framework.html">Framework</a><br />
|
|
|
102 |
<a href="../Framework/GestionnaireException.html">GestionnaireException</a><br />
|
|
|
103 |
<a href="../Framework/I18n.html">I18n</a><br />
|
|
|
104 |
<a href="../Framework/Log.html">Log</a><br />
|
|
|
105 |
<a href="../Framework/OpenIdClient.html">OpenIdClient</a><br />
|
|
|
106 |
<a href="../Framework/Registre.html">Registre</a><br />
|
|
|
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 />
|
|
|
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: Cli</h1>
|
|
|
119 |
Source Location: /Cli.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 />
|
|
|
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>
|
|
|
129 |
<ul>
|
|
|
130 |
<li>Delphine CAUQUIL <<a href="mailto:delphine@tela-botanica.org">delphine@tela-botanica.org</a>></li>
|
|
|
131 |
<li>Jean-Pascal MILCENT <<a href="mailto:jpm@tela-botanica.org">jpm@tela-botanica.org</a>></li>
|
|
|
132 |
</ul>
|
|
|
133 |
|
|
|
134 |
|
|
|
135 |
|
|
|
136 |
|
|
|
137 |
|
|
|
138 |
|
|
|
139 |
|
|
|
140 |
<h4>Version:</h4>
|
|
|
141 |
<ul>
|
300 |
jpm |
142 |
<li>$Id: Cli.php 299 2011-01-18 14:03:46Z jpm $</li>
|
297 |
jpm |
143 |
</ul>
|
|
|
144 |
|
|
|
145 |
<h4>Copyright:</h4>
|
|
|
146 |
<ul>
|
|
|
147 |
<li>Copyright (c) 2010, Tela Botanica (accueil@tela-botanica.org)</li>
|
|
|
148 |
</ul>
|
|
|
149 |
|
|
|
150 |
</td>
|
|
|
151 |
|
|
|
152 |
|
|
|
153 |
|
|
|
154 |
<td valign="top">
|
|
|
155 |
<h3><a href="#class_methods">Methods</a></h3>
|
|
|
156 |
<ul>
|
|
|
157 |
<li><a href="../Framework/Cli.html#methodexecuter">executer</a></li>
|
|
|
158 |
</ul>
|
|
|
159 |
</td>
|
|
|
160 |
|
|
|
161 |
</tr></table>
|
|
|
162 |
<hr />
|
|
|
163 |
|
|
|
164 |
<table width="100%" border="0"><tr>
|
|
|
165 |
|
|
|
166 |
|
|
|
167 |
|
|
|
168 |
|
|
|
169 |
|
|
|
170 |
|
|
|
171 |
</tr></table>
|
|
|
172 |
<hr />
|
|
|
173 |
|
|
|
174 |
<a name="class_details"></a>
|
|
|
175 |
<h3>Class Details</h3>
|
|
|
176 |
<div class="tags">
|
|
|
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 />
|
|
|
179 |
<h4>Tags:</h4>
|
|
|
180 |
<div class="tags">
|
|
|
181 |
<table border="0" cellspacing="0" cellpadding="0">
|
|
|
182 |
<tr>
|
|
|
183 |
<td><b>author:</b> </td><td>Delphine CAUQUIL <<a href="mailto:delphine@tela-botanica.org">delphine@tela-botanica.org</a>></td>
|
|
|
184 |
</tr>
|
|
|
185 |
<tr>
|
|
|
186 |
<td><b>author:</b> </td><td>Jean-Pascal MILCENT <<a href="mailto:jpm@tela-botanica.org">jpm@tela-botanica.org</a>></td>
|
|
|
187 |
</tr>
|
|
|
188 |
<tr>
|
300 |
jpm |
189 |
<td><b>version:</b> </td><td>$Id: Cli.php 299 2011-01-18 14:03:46Z jpm $</td>
|
297 |
jpm |
190 |
</tr>
|
|
|
191 |
<tr>
|
|
|
192 |
<td><b>copyright:</b> </td><td>Copyright (c) 2010, Tela Botanica (accueil@tela-botanica.org)</td>
|
|
|
193 |
</tr>
|
|
|
194 |
<tr>
|
|
|
195 |
<td><b>link:</b> </td><td>/doc/framework/</td>
|
|
|
196 |
</tr>
|
|
|
197 |
<tr>
|
|
|
198 |
<td><b>since:</b> </td><td>0.3</td>
|
|
|
199 |
</tr>
|
|
|
200 |
<tr>
|
|
|
201 |
<td><b>license:</b> </td><td><a href="http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt">Licence CECILL-v2</a></td>
|
|
|
202 |
</tr>
|
|
|
203 |
<tr>
|
|
|
204 |
<td><b>license:</b> </td><td><a href="http://www.gnu.org/licenses/gpl.html">Licence GNU-GPL-v3</a></td>
|
|
|
205 |
</tr>
|
|
|
206 |
</table>
|
|
|
207 |
</div>
|
|
|
208 |
</div><br /><br />
|
|
|
209 |
<div class="top">[ <a href="#top">Top</a> ]</div><br />
|
|
|
210 |
|
|
|
211 |
|
|
|
212 |
<hr />
|
|
|
213 |
<a name="class_methods"></a>
|
|
|
214 |
<h3>Class Methods</h3>
|
|
|
215 |
<div class="tags">
|
|
|
216 |
<hr />
|
|
|
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>
|
|
|
219 |
<div class="function">
|
|
|
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">
|
|
|
222 |
<code>static void executer(
|
|
|
223 |
)</code>
|
|
|
224 |
</td></tr></table>
|
|
|
225 |
</td></tr></table><br />
|
|
|
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 />
|
|
|
228 |
<h4>Tags:</h4>
|
|
|
229 |
<div class="tags">
|
|
|
230 |
<table border="0" cellspacing="0" cellpadding="0">
|
|
|
231 |
<tr>
|
|
|
232 |
<td><b>access:</b> </td><td>public</td>
|
|
|
233 |
</tr>
|
|
|
234 |
</table>
|
|
|
235 |
</div>
|
|
|
236 |
<br /><br />
|
|
|
237 |
|
|
|
238 |
|
|
|
239 |
<div class="top">[ <a href="#top">Top</a> ]</div>
|
|
|
240 |
</div>
|
|
|
241 |
|
|
|
242 |
</div><br />
|
|
|
243 |
|
|
|
244 |
|
|
|
245 |
<div class="credit">
|
|
|
246 |
<hr />
|
302 |
jpm |
247 |
Documentation generated on Tue, 18 Jan 2011 15:31:14 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
|
297 |
jpm |
248 |
</div>
|
|
|
249 |
</td></tr></table>
|
|
|
250 |
</td>
|
|
|
251 |
</tr>
|
|
|
252 |
</table>
|
|
|
253 |
|
|
|
254 |
</body>
|
|
|
255 |
</html>
|