blob: 417bbf76e8cc5032ea3f2b12091c0140a2577150 (
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
|
{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> <span class="smalllinenumber">[line {if $functions[func].slink}{$functions[func].slink}{else}{$functions[func].line_number}{/if}]</span>
</div>
<br />
<div class="function">
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code-border">
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
<code>{$functions[func].function_return} {if $functions[func].ifunction_call.returnsref}&{/if}{$functions[func].function_name}(
{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}{$functions[func].ifunction_call.params[params].type} {$functions[func].ifunction_call.params[params].name}{if $functions[func].ifunction_call.params[params].hasdefault} = {$functions[func].ifunction_call.params[params].default|escape:"html"}]{/if}
{/section}
{/if})</code>
</td></tr></table>
</td></tr></table>
{include file="docblock.tpl" sdesc=$functions[func].sdesc desc=$functions[func].desc}
{if count($functions[func].params) > 0}
<strong>Parameters:</strong><br />
<table border="0" cellspacing="0" cellpadding="0">
{section name=params loop=$functions[func].params}
<tr><td class="indent">
<span class="var-type">{$functions[func].params[params].datatype}</span> </td>
<td>
<span class="var-name">{$functions[func].params[params].var}: </span></td>
<td>
{if $functions[func].params[params].data}<span class="var-description"> {$functions[func].params[params].data}</span>{/if}
</td></tr>
{/section}
</table>
{/if}
<br />
{include file="tags.tpl" api_tags=$functions[func].api_tags info_tags=$functions[func].info_tags}
{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}
<br />
<div class="top">[ <a href="#top">Top</a> ]</div>
</div>
</div>
{/section}
|