summaryrefslogtreecommitdiff
path: root/buildscripts/PhpDocumentor/phpDocumentor/Converters/HTML/Smarty/templates/PHP/templates/class.tpl
blob: 860707ebcdf7a19a69a6ccecbc0780c0a16ea62b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
{include file="header.tpl" eltype="class" hasel=true contents=$classcontents}

{if $conflicts.conflict_type}<div class="warning">Conflicts with classes:<br />
	{section name=me loop=$conflicts.conflicts}
	{$conflicts.conflicts[me]}<br />
	{/section}
</div>
	{/if}
{* original <div class="warning">{$conflicts</div> *}

<table width="100%" border="0">
<tr><td valign="top">

<h3><a href="#class_details">{if $is_interface}Interface{else}Class{/if} Overview</a></h3>
<pre>{section name=tree loop=$class_tree.classes}{$class_tree.classes[tree]}{$class_tree.distance[tree]}{/section}</pre><br />
<div class="description">{$sdesc|default:''}</div><br /><br />
{if $tutorial}
<h4 class="classtutorial">{if $is_interface}Interface{else}Class{/if} Tutorial:</h4>
<ul>
	<li>{$tutorial}</li>
</ul>
{/if}
{if count($tags) > 0}
<h4>Author(s):</h4>
<ul>
  {section name=tag loop=$tags}
    {if $tags[tag].keyword eq "author"}
    <li>{$tags[tag].data}</li>
    {/if}
  {/section}
</ul>
{/if}

{assign var="version" value=""}
{assign var="copyright" value=""}

{section name=tag loop=$tags}
  {if $tags[tag].keyword eq "version"}
  {assign var="version" value=$tags[tag].data}
  {/if}
  {if $tags[tag].keyword eq "copyright"}
  {assign var="copyright" value=$tags[tag].data}
  {/if}
{/section}

{if $version}
<h4>Version:</h4>
<ul>
  <li>{$version}</li>
</ul>
{/if}

{if $copyright}
<h4>Copyright:</h4>
<ul>
  <li>{$copyright}</li>
</ul>
{/if}
        {if $implements}
        <p class="implements">
            Implements interfaces:
            <ul>
                {foreach item="int" from=$implements}<li>{$int}</li>{/foreach}
            </ul>
        </p>
        {/if}

</td>

{if count($contents.var) > 0}
<td valign="top">
<h3><a href="#class_vars">Variables</a></h3>
<ul>
  {section name=contents loop=$contents.var}
  <li>{$contents.var[contents]}</li>
  {/section}
</ul>
</td>
{/if}

{if count($contents.const) > 0}
<td valign="top">
<h3><a href="#class_consts">Constants</a></h3>
<ul>
  {section name=contents loop=$contents.const}
  <li>{$contents.const[contents]}</li>
  {/section}
</ul>
</td>
{/if}

{if count($contents.method) > 0}
<td valign="top">
<h3><a href="#class_methods">Methods</a></h3>
<ul>
  {section name=contents loop=$contents.method}
  <li>{$contents.method[contents]}</li>
  {/section}
</ul>
</td>
{/if}

</tr></table>
<hr />

<table width="100%" border="0"><tr>

{* original {if $children != ""
<td valign="top">
<h3>Child classes:</h3>
<div class="tags">
{$children *}

{if $children}
<td valign="top">
<h3>Child classes:</h3>
<div class="tags">
{section name=kids loop=$children}
<dl>
<dt>{$children[kids].link}</dt>
	<dd>{$children[kids].sdesc}</dd>
</dl>
{/section}
</div>
</td>
{/if}

{if $iconsts && count($iconsts) > 0}
<td valign="top">
<h3>Inherited Constants</h3>
{section name=iconsts loop=$iconsts}
<div class="tags">
<h4>Class: {$iconsts[iconsts].parent_class}</h4>
<dl>
{section name=iconsts2 loop=$iconsts[iconsts].iconsts}
<dt>
  {$iconsts[iconsts].iconsts[iconsts2].link}
</dt>
<dd>
  {$iconsts[iconsts].iconsts[iconsts2].iconsts_sdesc} 
</dd>
{/section}
</dl>
</div>
{/section}
</td>
{/if}

{if $ivars && count($ivars) > 0}
<td valign="top">
<h3>Inherited Variables</h3>
{section name=ivars loop=$ivars}
<div class="tags">
<h4>Class: {$ivars[ivars].parent_class}</h4>
<dl>
{section name=ivars2 loop=$ivars[ivars].ivars}
<dt>
  {$ivars[ivars].ivars[ivars2].link}
  {* original <a href="{$ivars[ivars].ivars[ivars2].ipath #{$ivars[ivars].ivars[ivars2].ivar_name ">{$ivars[ivars].ivars[ivars2].ivar_name </a> *}
</dt>
<dd>
  {$ivars[ivars].ivars[ivars2].ivars_sdesc} 
</dd>
{/section}
</dl>
</div>
{/section}
</td>
{/if}

{if $imethods && count($imethods) > 0}
<td valign="top">
<h3>Inherited Methods</h3>
<div class="tags">
{section name=imethods loop=$imethods}
<h4>Class: {$imethods[imethods].parent_class}</h4>
<dl>
  {section name=im2 loop=$imethods[imethods].imethods}
  <dt>
    {$imethods[imethods].imethods[im2].link}
{* original    <a href="{$imethods[imethods].imethods[im2].ipath#{$imethods[imethods].imethods[im2].ifunction_name">{$imethods[imethods].imethods[im2].ifunction_call</a> *}
  </dt>
  <dd>
    {$imethods[imethods].imethods[im2].sdesc}
  </dd>
  {/section}
</dl>
{/section}
</div>
</td>
{/if}

</tr></table>
<hr />

<a name="class_details"></a>
<h3>Class Details</h3>
<div class="tags">
[line {if $class_slink}{$class_slink}{else}{$line_number}{/if}]<br />
{include file="docblock.tpl" type="class" sdesc=$sdesc desc=$desc}
</div><br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div><br />

{if $vars && count($vars) > 0}
<hr />
<a name="class_vars"></a>
<h3>Class Variables</h3>
<div class="tags">
{include file="var.tpl"}
</div><br />
{/if}

{if $methods & count($methods) > 0}
<hr />
<a name="class_methods"></a>
<h3>Class Methods</h3>
<div class="tags">
{include file="method.tpl"}
</div><br />
{/if}

{if $consts && count($consts) > 0}
<hr />
<a name="class_consts"></a>
<h3>Class Constants</h3>
<div class="tags">
{include file="const.tpl"}
</div><br />
{/if}

{include file="footer.tpl"}