60 |
jpm |
1 |
<html>
|
|
|
2 |
<head>
|
|
|
3 |
<title>Documentation</title>
|
|
|
4 |
<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
|
|
|
5 |
<link rel='stylesheet' href='style.css' />
|
|
|
6 |
</head>
|
|
|
7 |
|
|
|
8 |
<body>
|
|
|
9 |
<div align='center'>
|
|
|
10 |
<table cellpadding='0' cellspacing='0' id='contenu' class='round' style='width: 80%; margin-bottom: 20px'>
|
|
|
11 |
<tr>
|
|
|
12 |
<td class='borderhg'> </td>
|
|
|
13 |
<td class='borderh'> </td>
|
|
|
14 |
<td class='cornerhd'></td>
|
|
|
15 |
</tr>
|
|
|
16 |
<tr>
|
|
|
17 |
<td class='borderg'> </td>
|
|
|
18 |
<td><a id="top"></a><h2> Class Side</h2><div class="description">
|
|
|
19 |
<p>
|
|
|
20 |
La classe <a href="Side.html">Side</a> est un objet qui fournit des méthodes pour gérer des situations où il est besoin de valoriser les côtés gauche, droit, haut et bas avec des entiers.
|
|
|
21 |
</p>
|
|
|
22 |
</div><ul class="links"><li><a href="index.html">Retourner voir la liste de toutes les classes</a></li></ul><h2>Méthodes et propriétés</h2><ul class="properties">
|
|
|
23 |
<li>
|
|
|
24 |
<span class="access">public</span> <span class="type">int</span> <a href="Side.html#property.left"><span class="argument">$left</span></a> := <span class="default">0</span>
|
|
|
25 |
</li>
|
|
|
26 |
<li>
|
|
|
27 |
<span class="access">public</span> <span class="type">int</span> <a href="Side.html#property.right"><span class="argument">$right</span></a> := <span class="default">0</span>
|
|
|
28 |
</li>
|
|
|
29 |
<li>
|
|
|
30 |
<span class="access">public</span> <span class="type">int</span> <a href="Side.html#property.top"><span class="argument">$top</span></a> := <span class="default">0</span>
|
|
|
31 |
</li>
|
|
|
32 |
<li>
|
|
|
33 |
<span class="access">public</span> <span class="type">int</span> <a href="Side.html#property.bottom"><span class="argument">$bottom</span></a> := <span class="default">0</span>
|
|
|
34 |
</li>
|
|
|
35 |
</ul><ul class="methods">
|
|
|
36 |
<li>
|
|
|
37 |
<span class="access">public</span> <a href="Side.html#method.__construct">__construct</a>(<span class="type">mixed</span> <span class="argument">$left</span>, <span class="type">mixed</span> <span class="argument">$right</span>, <span class="type">mixed</span> <span class="argument">$top</span>, <span class="type">mixed</span> <span class="argument">$bottom</span>)
|
|
|
38 |
</li>
|
|
|
39 |
<li>
|
|
|
40 |
<span class="access">public</span> <a href="Side.html#method.set">set</a>(<span class="type">mixed</span> <span class="argument">$left</span>, <span class="type">mixed</span> <span class="argument">$right</span>, <span class="type">mixed</span> <span class="argument">$top</span>, <span class="type">mixed</span> <span class="argument">$bottom</span>)
|
|
|
41 |
</li>
|
|
|
42 |
</ul><h2>Documentation</h2><ul class="doc">
|
|
|
43 |
<li class="property">
|
|
|
44 |
<a id="property.left"></a><span class="access">public</span> <span class="type">int</span> <a href="Side.html#property.left"><span class="argument">$left</span></a> := <span class="default">0</span><div class="description">
|
|
|
45 |
Le côté gauche.
|
|
|
46 |
</div>
|
|
|
47 |
<div class="description-bottom"><a href="Side.html#top">Remonter</a></div>
|
|
|
48 |
</li>
|
|
|
49 |
<li class="property">
|
|
|
50 |
<a id="property.right"></a><span class="access">public</span> <span class="type">int</span> <a href="Side.html#property.right"><span class="argument">$right</span></a> := <span class="default">0</span><div class="description">
|
|
|
51 |
Le côté droit.
|
|
|
52 |
</div>
|
|
|
53 |
<div class="description-bottom"><a href="Side.html#top">Remonter</a></div>
|
|
|
54 |
</li>
|
|
|
55 |
<li class="property">
|
|
|
56 |
<a id="property.top"></a><span class="access">public</span> <span class="type">int</span> <a href="Side.html#property.top"><span class="argument">$top</span></a> := <span class="default">0</span><div class="description">
|
|
|
57 |
Le côté haut.
|
|
|
58 |
</div>
|
|
|
59 |
<div class="description-bottom"><a href="Side.html#top">Remonter</a></div>
|
|
|
60 |
</li>
|
|
|
61 |
<li class="property">
|
|
|
62 |
<a id="property.bottom"></a><span class="access">public</span> <span class="type">int</span> <a href="Side.html#property.bottom"><span class="argument">$bottom</span></a> := <span class="default">0</span><div class="description">
|
|
|
63 |
Le côté bas.
|
|
|
64 |
</div>
|
|
|
65 |
<div class="description-bottom"><a href="Side.html#top">Remonter</a></div>
|
|
|
66 |
</li>
|
|
|
67 |
<li class="method">
|
|
|
68 |
<a id="method.__construct"></a><span class="access">public</span> <a href="Side.html#method.__construct">__construct</a>(<span class="type">mixed</span> <span class="argument">$left</span>, <span class="type">mixed</span> <span class="argument">$right</span>, <span class="type">mixed</span> <span class="argument">$top</span>, <span class="type">mixed</span> <span class="argument">$bottom</span>)
|
|
|
69 |
<div class="description">
|
|
|
70 |
Construit l'objet <a href="Side.html">Side</a> avec les valeurs $left, $right, $top et $bottom pour les côtés gauche, droit, haut et bas.
|
|
|
71 |
</div>
|
|
|
72 |
<div class="description-bottom"><a href="Side.html#top">Remonter</a></div>
|
|
|
73 |
</li>
|
|
|
74 |
<li class="method">
|
|
|
75 |
<a id="method.set"></a><span class="access">public</span> <a href="Side.html#method.set">set</a>(<span class="type">mixed</span> <span class="argument">$left</span>, <span class="type">mixed</span> <span class="argument">$right</span>, <span class="type">mixed</span> <span class="argument">$top</span>, <span class="type">mixed</span> <span class="argument">$bottom</span>)
|
|
|
76 |
<div class="description">
|
|
|
77 |
Change les valeurs associées aux côtés gauche, droit, haut et bas.
|
|
|
78 |
Laisser un paramètre à NULL permet d'éviter que la valeur du côté soit modifiée.
|
|
|
79 |
</div>
|
|
|
80 |
<div class="description-bottom"><a href="Side.html#top">Remonter</a></div>
|
|
|
81 |
</li>
|
|
|
82 |
</ul>
|
|
|
83 |
</td>
|
|
|
84 |
<td class='borderd'> </td>
|
|
|
85 |
</tr>
|
|
|
86 |
<tr>
|
|
|
87 |
<td class='cornerbg'></td>
|
|
|
88 |
<td class='borderb'> </td>
|
|
|
89 |
<td class='cornerbd'></td>
|
|
|
90 |
</tr>
|
|
|
91 |
</table>
|
|
|
92 |
</div>
|
|
|
93 |
</body>
|
|
|
94 |
</html>
|