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 Cli | 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 class="active"><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><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 Cli</h1>
|
|
|
113 |
|
|
|
114 |
|
|
|
115 |
<div class="description">
|
|
|
116 |
|
|
|
117 |
<p>CLI permet de récupérer les paramètres passés en ligne de commande pour
|
|
|
118 |
instancier une classe héritant de la classe abstraite Script. Elle va
|
|
|
119 |
déclencher l'éxecution du script via l'appel de la méthode executer(). C'est
|
|
|
120 |
une Singleton.</p>
|
|
|
121 |
|
|
|
122 |
</div>
|
|
|
123 |
|
|
|
124 |
|
|
|
125 |
|
|
|
126 |
|
|
|
127 |
|
|
|
128 |
|
|
|
129 |
|
|
|
130 |
|
|
|
131 |
|
|
|
132 |
<div class="info">
|
|
|
133 |
|
|
|
134 |
|
|
|
135 |
|
|
|
136 |
<b>Package:</b> <a href="package-Framework.html">Framework</a><br>
|
|
|
137 |
|
|
|
138 |
<b>Category:</b>
|
|
|
139 |
PHP 5.2<br>
|
|
|
140 |
<b>Copyright:</b>
|
|
|
141 |
Copyright (c) 2010, Tela Botanica (<a
|
|
|
142 |
href="mailto:accueil@tela-botanica.org">accueil@<!-- -->tela-botanica.org</a>)<br>
|
|
|
143 |
<b>License:</b>
|
|
|
144 |
<a href="http://www.gnu.org/licenses/gpl.html">Licence GNU-GPL-v3</a><br>
|
|
|
145 |
<b>License:</b>
|
|
|
146 |
<a href="http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt">Licence CECILL-v2</a><br>
|
|
|
147 |
<b>Author:</b>
|
|
|
148 |
Jean-Pascal MILCENT <<a
|
|
|
149 |
href="mailto:jpm@tela-botanica.org">jpm@<!-- -->tela-botanica.org</a>><br>
|
|
|
150 |
<b>Author:</b>
|
|
|
151 |
Delphine CAUQUIL <<a
|
|
|
152 |
href="mailto:delphine@tela-botanica.org">delphine@<!-- -->tela-botanica.org</a>><br>
|
|
|
153 |
<b>Version:</b>
|
|
|
154 |
$Id: Cli.php 387 2011-10-28 15:57:40Z jpm $<br>
|
|
|
155 |
<b>Since:</b>
|
|
|
156 |
0.3<br>
|
|
|
157 |
<b>Link:</b>
|
|
|
158 |
/doc/framework/<br>
|
|
|
159 |
<b>Located at</b> <a href="source-class-Cli.html#4-107" title="Go to source code">framework/Cli.php</a><br>
|
|
|
160 |
</div>
|
|
|
161 |
|
|
|
162 |
|
|
|
163 |
|
|
|
164 |
<table class="summary" id="methods">
|
|
|
165 |
<caption>Methods summary</caption>
|
|
|
166 |
<tr data-order="executer" id="_executer">
|
|
|
167 |
|
|
|
168 |
<td class="attributes"><code>
|
|
|
169 |
public static
|
|
|
170 |
|
|
|
171 |
|
|
|
172 |
</code>
|
|
|
173 |
</td>
|
|
|
174 |
|
|
|
175 |
<td class="name"><div>
|
|
|
176 |
<a class="anchor" href="#_executer">#</a>
|
|
|
177 |
<code><a href="source-class-Cli.html#27-57" title="Go to source code">executer</a>( )</code>
|
|
|
178 |
|
|
|
179 |
<div class="description short">
|
|
|
180 |
|
|
|
181 |
<p>Execute la ligne de commande en récupérant le nom du script à lancer et
|
|
|
182 |
ses paramètres. Instancie la classe du script à lancer et appelle la méthode
|
|
|
183 |
executer().</p>
|
|
|
184 |
|
|
|
185 |
</div>
|
|
|
186 |
|
|
|
187 |
<div class="description detailed hidden">
|
|
|
188 |
|
|
|
189 |
<p>Execute la ligne de commande en récupérant le nom du script à lancer et
|
|
|
190 |
ses paramètres. Instancie la classe du script à lancer et appelle la méthode
|
|
|
191 |
executer().</p>
|
|
|
192 |
|
|
|
193 |
|
|
|
194 |
|
|
|
195 |
|
|
|
196 |
|
|
|
197 |
|
|
|
198 |
|
|
|
199 |
|
|
|
200 |
</div>
|
|
|
201 |
</div></td>
|
|
|
202 |
</tr>
|
|
|
203 |
</table>
|
|
|
204 |
|
|
|
205 |
|
|
|
206 |
|
|
|
207 |
|
|
|
208 |
|
|
|
209 |
|
|
|
210 |
|
|
|
211 |
|
|
|
212 |
|
|
|
213 |
|
|
|
214 |
|
|
|
215 |
|
|
|
216 |
|
|
|
217 |
|
|
|
218 |
|
|
|
219 |
|
|
|
220 |
|
|
|
221 |
|
|
|
222 |
</div>
|
|
|
223 |
|
|
|
224 |
<div id="footer">
|
|
|
225 |
TBFramework - v0.4 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
|
|
|
226 |
</div>
|
|
|
227 |
</div>
|
|
|
228 |
</div>
|
|
|
229 |
</body>
|
|
|
230 |
</html>
|