blob: b688005964d8e10656a85c9612ec750375796c05 (
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
|
{section name=func loop=$functions}
<a name="{$functions[func].function_dest}" id="{$functions[func].function_dest}"><!-- --></a>
<div class="{cycle values="evenrow,oddrow"}">
<div>
<span class="method-title">{$functions[func].function_name}</span> (line <span class="line-number">{if $functions[func].slink}{$functions[func].slink}{else}{$functions[func].line_number}{/if}</span>)
</div>
{include file="docblock.tpl" sdesc=$functions[func].sdesc desc=$functions[func].desc tags=$functions[func].tags params=$functions[func].params function=false}
<div class="method-signature">
<span class="method-result">{$functions[func].function_return}</span>
<span class="method-name">
{if $functions[func].ifunction_call.returnsref}&{/if}{$functions[func].function_name}
</span>
{if count($functions[func].ifunction_call.params)}
({section name=params loop=$functions[func].ifunction_call.params}{if $smarty.section.params.iteration != 1}, {/if}{if $functions[func].ifunction_call.params[params].hasdefault}[{/if}<span class="var-type">{$functions[func].ifunction_call.params[params].type}</span> <span class="var-name">{$functions[func].ifunction_call.params[params].name}</span>{if $functions[func].ifunction_call.params[params].hasdefault} = <span class="var-default">{$functions[func].ifunction_call.params[params].default|escape:"html"}</span>]{/if}{/section})
{else}
()
{/if}
</div>
{if $functions[func].params}
<ul class="parameters">
{section name=params loop=$functions[func].params}
<li>
<span class="var-type">{$functions[func].params[params].datatype}</span>
<span class="var-name">{$functions[func].params[params].var}</span>{if $functions[func].params[params].data}<span class="var-description">: {$functions[func].params[params].data}</span>{/if}
</li>
{/section}
</ul>
{/if}
{if $functions[func].function_conflicts.conflict_type}
<hr class="separator" />
<div><span class="warning">Conflicts with functions:</span><br />
{section name=me loop=$functions[func].function_conflicts.conflicts}
{$functions[func].function_conflicts.conflicts[me]}<br />
{/section}
</div>
{/if}
</div>
{/section}
|