| 1 |
lars |
1 |
{section name=func loop=$functions}
|
|
|
2 |
<a name="{$functions[func].function_dest}" id="{$functions[func].function_dest}"><!-- --></a>
|
|
|
3 |
<div class="{cycle values="evenrow,oddrow"}">
|
|
|
4 |
|
|
|
5 |
<div>
|
|
|
6 |
<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>)
|
|
|
7 |
</div>
|
|
|
8 |
|
|
|
9 |
{include file="docblock.tpl" sdesc=$functions[func].sdesc desc=$functions[func].desc tags=$functions[func].tags params=$functions[func].params function=false}
|
|
|
10 |
|
|
|
11 |
<div class="method-signature">
|
|
|
12 |
<span class="method-result">{$functions[func].function_return}</span>
|
|
|
13 |
<span class="method-name">
|
|
|
14 |
{if $functions[func].ifunction_call.returnsref}&{/if}{$functions[func].function_name}
|
|
|
15 |
</span>
|
|
|
16 |
{if count($functions[func].ifunction_call.params)}
|
|
|
17 |
({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})
|
|
|
18 |
{else}
|
|
|
19 |
()
|
|
|
20 |
{/if}
|
|
|
21 |
</div>
|
|
|
22 |
|
|
|
23 |
{if $functions[func].params}
|
|
|
24 |
<ul class="parameters">
|
|
|
25 |
{section name=params loop=$functions[func].params}
|
|
|
26 |
<li>
|
|
|
27 |
<span class="var-type">{$functions[func].params[params].datatype}</span>
|
|
|
28 |
<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}
|
|
|
29 |
</li>
|
|
|
30 |
{/section}
|
|
|
31 |
</ul>
|
|
|
32 |
{/if}
|
|
|
33 |
|
|
|
34 |
{if $functions[func].function_conflicts.conflict_type}
|
|
|
35 |
<hr class="separator" />
|
|
|
36 |
<div><span class="warning">Conflicts with functions:</span><br />
|
|
|
37 |
{section name=me loop=$functions[func].function_conflicts.conflicts}
|
|
|
38 |
{$functions[func].function_conflicts.conflicts[me]}<br />
|
|
|
39 |
{/section}
|
|
|
40 |
</div>
|
|
|
41 |
{/if}
|
|
|
42 |
|
|
|
43 |
</div>
|
|
|
44 |
{/section}
|