Subversion Repositories Applications.framework

Rev

Go to most recent revision | Details | 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
 
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
      <b>Packages:</b><br />
30
              <a href="../li_Framework.html">Framework</a><br />
31
            <br /><br />
32
                        <b>Files:</b><br />
33
      	  <div class="package">
34
			<a href="../Framework/_Application.php.html">		Application.php
35
		</a><br>
36
			<a href="../Framework/_autoload.inc.php.html">		autoload.inc.php
37
		</a><br>
38
			<a href="../Framework/_Chronometre.php.html">		Chronometre.php
39
		</a><br>
40
			<a href="../Framework/_Config.php.html">		Config.php
41
		</a><br>
42
			<a href="../Framework/_Controleur.php.html">		Controleur.php
43
		</a><br>
44
			<a href="../Framework/_Debug.php.html">		Debug.php
45
		</a><br>
46
			<a href="../Framework/_GestionnaireException.php.html">		GestionnaireException.php
47
		</a><br>
48
			<a href="../Framework/_Log.php.html">		Log.php
49
		</a><br>
50
			<a href="../Framework/_Modele.php.html">		Modele.php
51
		</a><br>
52
			<a href="../Framework/_Registre.php.html">		Registre.php
53
		</a><br>
54
			<a href="../Framework/_SquelettePhp.php.html">		SquelettePhp.php
55
		</a><br>
56
			<a href="../Framework/_Url.php.html">		Url.php
57
		</a><br>
58
	  </div><br />
59
 
60
 
61
            <b>Classes:</b><br />
62
        <div class="package">
63
		    		<a href="../Framework/Application.html">Application</a><br />
64
	    		<a href="../Framework/Chronometre.html">Chronometre</a><br />
65
	    		<a href="../Framework/Config.html">Config</a><br />
66
	    		<a href="../Framework/Controleur.html">Controleur</a><br />
67
	    		<a href="../Framework/Debug.html">Debug</a><br />
68
	    		<a href="../Framework/GestionnaireException.html">GestionnaireException</a><br />
69
	    		<a href="../Framework/Log.html">Log</a><br />
70
	    		<a href="../Framework/Modele.html">Modele</a><br />
71
	    		<a href="../Framework/Registre.html">Registre</a><br />
72
	    		<a href="../Framework/SquelettePhp.html">SquelettePhp</a><br />
73
	    		<a href="../Framework/Url.html">Url</a><br />
74
	  </div>
75
                </td>
76
    <td>
77
      <table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">
78
 
79
<h1>Class: SquelettePhp</h1>
80
Source Location: /SquelettePhp.php<br /><br />
81
 
82
 
83
<table width="100%" border="0">
84
<tr><td valign="top">
85
 
86
<h3><a href="#class_details">Class Overview</a></h3>
87
<pre></pre><br />
88
<div class="description">Classe SquelettePhp, traitant les squelette Php utilisant la syntaxe courte php ou pas.</div><br /><br />
89
<h4>Author(s):</h4>
90
<ul>
91
          <li>Jean-Pascal MILCENT &lt;<a href="mailto:jpm@tela-botanica.org">jpm@tela-botanica.org</a>&gt;</li>
92
                                    </ul>
93
 
94
 
95
 
96
 
97
 
98
 
99
 
100
<h4>Version:</h4>
101
<ul>
102
  <li>SVN: $$Id: SquelettePhp.php 153 2010-03-04 10:48:32Z jpm $$</li>
103
</ul>
104
 
105
<h4>Copyright:</h4>
106
<ul>
107
  <li>2010 Tela-Botanica</li>
108
</ul>
109
 
110
</td>
111
 
112
 
113
 
114
<td valign="top">
115
<h3><a href="#class_methods">Methods</a></h3>
116
<ul>
117
    <li><a href="../Framework/SquelettePhp.html#methodanalyser">analyser</a></li>
118
  </ul>
119
</td>
120
 
121
</tr></table>
122
<hr />
123
 
124
<table width="100%" border="0"><tr>
125
 
126
 
127
 
128
 
129
 
130
 
131
</tr></table>
132
<hr />
133
 
134
<a name="class_details"></a>
135
<h3>Class Details</h3>
136
<div class="tags">
137
[line <a href="../__filesource/fsource_Framework__SquelettePhp.php.html#a16">16</a>]<br />
138
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 />
139
<h4>Tags:</h4>
140
<div class="tags">
141
<table border="0" cellspacing="0" cellpadding="0">
142
  <tr>
143
    <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>
144
  </tr>
145
  <tr>
146
    <td><b>version:</b>&nbsp;&nbsp;</td><td>SVN: $$Id: SquelettePhp.php 153 2010-03-04 10:48:32Z jpm $$</td>
147
  </tr>
148
  <tr>
149
    <td><b>copyright:</b>&nbsp;&nbsp;</td><td>2010 Tela-Botanica</td>
150
  </tr>
151
  <tr>
152
    <td><b>link:</b>&nbsp;&nbsp;</td><td>/doc/framework/</td>
153
  </tr>
154
  <tr>
155
    <td><b>license:</b>&nbsp;&nbsp;</td><td><a href="http://www.gnu.org/licenses/gpl.html">Licence GNU-GPL</a></td>
156
  </tr>
157
  <tr>
158
    <td><b>license:</b>&nbsp;&nbsp;</td><td><a href="http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt">Licence CECILL</a></td>
159
  </tr>
160
</table>
161
</div>
162
</div><br /><br />
163
<div class="top">[ <a href="#top">Top</a> ]</div><br />
164
 
165
 
166
<hr />
167
<a name="class_methods"></a>
168
<h3>Class Methods</h3>
169
<div class="tags">
170
  <hr />
171
	<a name="methodanalyser"></a>
172
	<h3>static method analyser <span class="smalllinenumber">[line <a href="../__filesource/fsource_Framework__SquelettePhp.php.html#a27">27</a>]</span></h3>
173
	<div class="function">
174
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
175
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
176
		<code>static boolean analyser(
177
String
178
$fichier, [
179
$donnees = array()])</code>
180
    </td></tr></table>
181
    </td></tr></table><br />
182
 
183
		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 />
184
<h4>Tags:</h4>
185
<div class="tags">
186
<table border="0" cellspacing="0" cellpadding="0">
187
  <tr>
188
    <td><b>return:</b>&nbsp;&nbsp;</td><td>false si la vue n'existe pas, sinon la chaine résultat.</td>
189
  </tr>
190
  <tr>
191
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
192
  </tr>
193
</table>
194
</div>
195
<br /><br />
196
 
197
 
198
        <h4>Parameters:</h4>
199
    <div class="tags">
200
    <table border="0" cellspacing="0" cellpadding="0">
201
          <tr>
202
        <td class="type">String&nbsp;&nbsp;</td>
203
        <td><b>$fichier</b>&nbsp;&nbsp;</td>
204
        <td>le chemin du fichier du squelette</td>
205
      </tr>
206
          <tr>
207
        <td class="type">Array&nbsp;&nbsp;</td>
208
        <td><b>$donnees</b>&nbsp;&nbsp;</td>
209
        <td>un tableau associatif contenant les variables a injecter dans le squelette.</td>
210
      </tr>
211
        </table>
212
    </div><br />
213
        <div class="top">[ <a href="#top">Top</a> ]</div>
214
  </div>
215
 
216
</div><br />
217
 
218
 
219
        <div class="credit">
220
		    <hr />
221
		    Documentation generated on Thu, 04 Mar 2010 19:27:36 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
222
	      </div>
223
      </td></tr></table>
224
    </td>
225
  </tr>
226
</table>
227
 
228
</body>
229
</html>