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 SquelettePhp</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: SquelettePhp</h1>
119
Source Location: /SquelettePhp.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">Classe SquelettePhp, traitant les squelette Php utilisant la syntaxe courte php ou pas.</div><br /><br />
128
<h4>Author(s):</h4>
129
<ul>
130
          <li>Jean-Pascal MILCENT &lt;<a href="mailto:jpm@tela-botanica.org">jpm@tela-botanica.org</a>&gt;</li>
131
                                    </ul>
132
 
133
 
134
 
135
 
136
 
137
 
138
 
139
<h4>Version:</h4>
140
<ul>
297 jpm 141
  <li>$Id: SquelettePhp.php 241 2010-12-06 15:19:07Z jpm $</li>
159 jpm 142
</ul>
143
 
144
<h4>Copyright:</h4>
145
<ul>
297 jpm 146
  <li>Copyright (c) 2010, 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/SquelettePhp.html#methodanalyser">analyser</a></li>
157
  </ul>
158
</td>
159
 
160
</tr></table>
161
<hr />
162
 
163
<table width="100%" border="0"><tr>
164
 
165
 
166
 
167
 
168
 
169
 
170
</tr></table>
171
<hr />
172
 
173
<a name="class_details"></a>
174
<h3>Class Details</h3>
175
<div class="tags">
176
[line <a href="../__filesource/fsource_Framework__SquelettePhp.php.html#a16">16</a>]<br />
177
Classe SquelettePhp, traitant les squelette Php utilisant la syntaxe courte php ou pas.<br /><br /><p>Ces méthodes sont statiques.</p><br /><br /><br />
178
<h4>Tags:</h4>
179
<div class="tags">
180
<table border="0" cellspacing="0" cellpadding="0">
181
  <tr>
182
    <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>
183
  </tr>
184
  <tr>
297 jpm 185
    <td><b>version:</b>&nbsp;&nbsp;</td><td>$Id: SquelettePhp.php 241 2010-12-06 15:19:07Z jpm $</td>
159 jpm 186
  </tr>
187
  <tr>
297 jpm 188
    <td><b>copyright:</b>&nbsp;&nbsp;</td><td>Copyright (c) 2010, Tela Botanica (accueil@tela-botanica.org)</td>
159 jpm 189
  </tr>
190
  <tr>
191
    <td><b>link:</b>&nbsp;&nbsp;</td><td>/doc/framework/</td>
192
  </tr>
193
  <tr>
194
    <td><b>license:</b>&nbsp;&nbsp;</td><td><a href="http://www.gnu.org/licenses/gpl.html">Licence GNU-GPL</a></td>
195
  </tr>
196
  <tr>
197
    <td><b>license:</b>&nbsp;&nbsp;</td><td><a href="http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt">Licence CECILL</a></td>
198
  </tr>
199
</table>
200
</div>
201
</div><br /><br />
202
<div class="top">[ <a href="#top">Top</a> ]</div><br />
203
 
204
 
205
<hr />
206
<a name="class_methods"></a>
207
<h3>Class Methods</h3>
208
<div class="tags">
209
  <hr />
210
	<a name="methodanalyser"></a>
297 jpm 211
	<h3>static method analyser <span class="smalllinenumber">[line <a href="../__filesource/fsource_Framework__SquelettePhp.php.html#a26">26</a>]</span></h3>
159 jpm 212
	<div class="function">
213
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
214
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
215
		<code>static boolean analyser(
216
String
217
$fichier, [
297 jpm 218
&$donnees = array()], Array
219
$donnees)</code>
159 jpm 220
    </td></tr></table>
221
    </td></tr></table><br />
222
 
223
		Fonction prenant en paramètre un chemin de fichier squelette et un tableau associatif de données,  en extrait les variables, charge le squelette et retourne le résultat des deux combinés.<br /><br /><br /><br />
224
<h4>Tags:</h4>
225
<div class="tags">
226
<table border="0" cellspacing="0" cellpadding="0">
227
  <tr>
228
    <td><b>return:</b>&nbsp;&nbsp;</td><td>false si la vue n'existe pas, sinon la chaine résultat.</td>
229
  </tr>
230
  <tr>
231
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
232
  </tr>
233
</table>
234
</div>
235
<br /><br />
236
 
237
 
238
        <h4>Parameters:</h4>
239
    <div class="tags">
240
    <table border="0" cellspacing="0" cellpadding="0">
241
          <tr>
242
        <td class="type">String&nbsp;&nbsp;</td>
243
        <td><b>$fichier</b>&nbsp;&nbsp;</td>
244
        <td>le chemin du fichier du squelette</td>
245
      </tr>
246
          <tr>
247
        <td class="type">Array&nbsp;&nbsp;</td>
248
        <td><b>$donnees</b>&nbsp;&nbsp;</td>
249
        <td>un tableau associatif contenant les variables a injecter dans le squelette.</td>
250
      </tr>
297 jpm 251
          <tr>
252
        <td class="type">Array&nbsp;&nbsp;</td>
253
        <td><b>&$donnees</b>&nbsp;&nbsp;</td>
254
        <td></td>
255
      </tr>
159 jpm 256
        </table>
257
    </div><br />
258
        <div class="top">[ <a href="#top">Top</a> ]</div>
259
  </div>
260
 
261
</div><br />
262
 
263
 
264
        <div class="credit">
265
		    <hr />
302 jpm 266
		    Documentation generated on Tue, 18 Jan 2011 15:31:29 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
159 jpm 267
	      </div>
268
      </td></tr></table>
269
    </td>
270
  </tr>
271
</table>
272
 
273
</body>
274
</html>