Subversion Repositories Applications.framework

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
159 jpm 1
<?xml version="1.0" encoding="UTF-8"?>
2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
  <html xmlns="http://www.w3.org/1999/xhtml">
4
		<head>
5
			<!-- template designed by Marco Von Ballmoos  -->
6
			<title>Docs For Class SquelettePhp</title>
7
			<meta http-equiv='Content-Type' content='text/html; charset=UTF-8'/>
8
			<link rel="stylesheet" href="../media/stylesheet.css" />
9
						<script src="../media/lib/classTree.js"></script>
10
												<script language="javascript" type="text/javascript">
11
				var imgPlus = new Image();
12
				var imgMinus = new Image();
13
				imgPlus.src = "../media/images/plus.png";
14
				imgMinus.src = "../media/images/minus.png";
15
 
16
				function showNode(Node){
17
							switch(navigator.family){
18
								case 'nn4':
19
									// Nav 4.x code fork...
20
							var oTable = document.layers["span" + Node];
21
							var oImg = document.layers["img" + Node];
22
									break;
23
								case 'ie4':
24
									// IE 4/5 code fork...
25
							var oTable = document.all["span" + Node];
26
							var oImg = document.all["img" + Node];
27
									break;
28
								case 'gecko':
29
									// Standards Compliant code fork...
30
							var oTable = document.getElementById("span" + Node);
31
							var oImg = document.getElementById("img" + Node);
32
									break;
33
							}
34
					oImg.src = imgMinus.src;
35
					oTable.style.display = "block";
36
				}
37
 
38
				function hideNode(Node){
39
							switch(navigator.family){
40
								case 'nn4':
41
									// Nav 4.x code fork...
42
							var oTable = document.layers["span" + Node];
43
							var oImg = document.layers["img" + Node];
44
									break;
45
								case 'ie4':
46
									// IE 4/5 code fork...
47
							var oTable = document.all["span" + Node];
48
							var oImg = document.all["img" + Node];
49
									break;
50
								case 'gecko':
51
									// Standards Compliant code fork...
52
							var oTable = document.getElementById("span" + Node);
53
							var oImg = document.getElementById("img" + Node);
54
									break;
55
							}
56
					oImg.src = imgPlus.src;
57
					oTable.style.display = "none";
58
				}
59
 
60
				function nodeIsVisible(Node){
61
							switch(navigator.family){
62
								case 'nn4':
63
									// Nav 4.x code fork...
64
							var oTable = document.layers["span" + Node];
65
									break;
66
								case 'ie4':
67
									// IE 4/5 code fork...
68
							var oTable = document.all["span" + Node];
69
									break;
70
								case 'gecko':
71
									// Standards Compliant code fork...
72
							var oTable = document.getElementById("span" + Node);
73
									break;
74
							}
75
					return (oTable && oTable.style.display == "block");
76
				}
77
 
78
				function toggleNodeVisibility(Node){
79
					if (nodeIsVisible(Node)){
80
						hideNode(Node);
81
					}else{
82
						showNode(Node);
83
					}
84
				}
85
			</script>
86
					</head>
87
		<body>
88
			<div class="page-body">
89
<h2 class="class-name">Class SquelettePhp</h2>
90
 
91
<a name="sec-description"></a>
92
<div class="info-box">
93
	<div class="info-box-title">Description</div>
94
	<div class="nav-bar">
95
					<span class="disabled">Description</span> |
96
															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
97
 
98
					</div>
99
	<div class="info-box-body">
100
        		<!-- ========== Info from phpDoc block ========= -->
101
<p class="short-description">Classe SquelettePhp, traitant les squelette Php utilisant la syntaxe courte php ou pas.</p>
102
<p class="description"><p>Ces méthodes sont statiques.</p></p>
103
	<ul class="tags">
104
				<li><span class="field">author:</span> Jean-Pascal MILCENT &lt;<a href="mailto:jpm@tela-botanica.org">jpm@tela-botanica.org</a>&gt;</li>
105
				<li><span class="field">version:</span> SVN: $$Id: SquelettePhp.php 153 2010-03-04 10:48:32Z jpm $$</li>
106
				<li><span class="field">copyright:</span> 2010 Tela-Botanica</li>
107
				<li><span class="field">link:</span> /doc/framework/</li>
108
				<li><span class="field">license:</span> <a href="http://www.gnu.org/licenses/gpl.html">Licence GNU-GPL</a></li>
109
				<li><span class="field">license:</span> <a href="http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt">Licence CECILL</a></li>
110
			</ul>
111
		<p class="notes">
112
			Located in <a class="field" href="_SquelettePhp.php.html">/SquelettePhp.php</a> (line <span class="field"><a href="../__filesource/fsource_Framework__SquelettePhp.php.html#a16">16</a></span>)
113
		</p>
114
 
115
 
116
		<pre></pre>
117
 
118
			</div>
119
</div>
120
 
121
 
122
 
123
 
124
	<a name="sec-method-summary"></a>
125
	<div class="info-box">
126
		<div class="info-box-title">Method Summary</span></div>
127
		<div class="nav-bar">
128
			<a href="#sec-description">Description</a> |
129
												<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
130
		</div>
131
		<div class="info-box-body">
132
			<div class="method-summary">
133
 
134
				<div class="method-definition">
135
					static 						<span class="method-result">boolean</span>
136
										<a href="#analyser" title="details" class="method-name">analyser</a>
137
											(<span class="var-type">String</span>&nbsp;<span class="var-name">$fichier</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$donnees</span> = <span class="var-default">array()</span>])
138
									</div>
139
																							</div>
140
		</div>
141
	</div>
142
 
143
 
144
	<a name="sec-methods"></a>
145
	<div class="info-box">
146
		<div class="info-box-title">Methods</div>
147
		<div class="nav-bar">
148
			<a href="#sec-description">Description</a> |
149
																<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
150
 
151
		</div>
152
		<div class="info-box-body">
153
			<A NAME='method_detail'></A>
154
<a name="methodanalyser" id="analyser"><!-- --></a>
155
<div class="oddrow">
156
 
157
	<div class="method-header">
158
		<span class="method-title">static analyser</span> (line <span class="line-number"><a href="../__filesource/fsource_Framework__SquelettePhp.php.html#a27">27</a></span>)
159
	</div>
160
 
161
	<!-- ========== Info from phpDoc block ========= -->
162
<p class="short-description">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.</p>
163
	<ul class="tags">
164
				<li><span class="field">return:</span> false si la vue n'existe pas, sinon la chaine résultat.</li>
165
				<li><span class="field">access:</span> public</li>
166
			</ul>
167
 
168
	<div class="method-signature">
169
		static <span class="method-result">boolean</span>
170
		<span class="method-name">
171
			analyser
172
		</span>
173
					(<span class="var-type">String</span>&nbsp;<span class="var-name">$fichier</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$donnees</span> = <span class="var-default">array()</span>])
174
			</div>
175
 
176
			<ul class="parameters">
177
					<li>
178
				<span class="var-type">String</span>
179
				<span class="var-name">$fichier</span><span class="var-description">: le chemin du fichier du squelette</span>			</li>
180
					<li>
181
				<span class="var-type">Array</span>
182
				<span class="var-name">$donnees</span><span class="var-description">: un tableau associatif contenant les variables a injecter dans le squelette.</span>			</li>
183
				</ul>
184
 
185
 
186
	</div>
187
 
188
		</div>
189
	</div>
190
 
191
 
192
	<p class="notes" id="credit">
193
		Documentation generated on Thu, 04 Mar 2010 19:27:25 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
194
	</p>
195
	</div></body>
196
</html>