| 1 |
lars |
1 |
{if $summary}
|
|
|
2 |
<!-- =========== FUNCTION SUMMARY =========== -->
|
|
|
3 |
<A NAME='function_summary'><!-- --></A>
|
|
|
4 |
<H3>Function Summary</H3>
|
|
|
5 |
|
|
|
6 |
<UL>
|
|
|
7 |
{section name=func loop=$functions}
|
|
|
8 |
<!-- =========== Summary =========== -->
|
|
|
9 |
<LI><CODE><A HREF="{$functions[func].id}">{$functions[func].function_return} {$functions[func].function_name}()</A></CODE>
|
|
|
10 |
<BR>{$functions[func].sdesc}
|
|
|
11 |
{/section}
|
|
|
12 |
</UL>
|
|
|
13 |
{else}
|
|
|
14 |
<!-- ============ FUNCTION DETAIL =========== -->
|
|
|
15 |
|
|
|
16 |
<A NAME='function_detail'></A>
|
|
|
17 |
<H3>Function Detail</H3>
|
|
|
18 |
|
|
|
19 |
<UL>
|
|
|
20 |
{section name=func loop=$functions}
|
|
|
21 |
<A NAME="{$functions[func].function_dest}"><!-- --></A>
|
|
|
22 |
|
|
|
23 |
<LI><SPAN class="code">{$functions[func].function_return} {$functions[func].function_name}()</SPAN> [line <span class="linenumber">{if $functions[func].slink}{$functions[func].slink}{else}{$functions[func].line_number}{/if}</span>]<br />
|
|
|
24 |
<BR><BR>
|
|
|
25 |
<SPAN class="type">Usage:</SPAN> <SPAN class="code">{if $functions[func].ifunction_call.returnsref}&{/if}{$functions[func].function_name}(
|
|
|
26 |
{if count($functions[func].ifunction_call.params)}
|
|
|
27 |
{section name=params loop=$functions[func].ifunction_call.params}
|
|
|
28 |
{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}
|
|
|
29 |
{/section}
|
|
|
30 |
{/if})</SPAN>
|
|
|
31 |
<BR><BR>
|
|
|
32 |
{if $functions[func].function_conflicts.conflict_type}
|
|
|
33 |
<p><b>Conflicts with functions:</b>
|
|
|
34 |
{section name=me loop=$functions[func].function_conflicts.conflicts}
|
|
|
35 |
{$functions[func].function_conflicts.conflicts[me]}<br />
|
|
|
36 |
{/section}
|
|
|
37 |
</p>
|
|
|
38 |
{/if}
|
|
|
39 |
{include file="docblock.tpl" sdesc=$functions[func].sdesc desc=$functions[func].desc tags=$functions[func].tags params=$functions[func].params function=true}
|
|
|
40 |
<BR>
|
|
|
41 |
<p class="top">[ <a href="#top">Top</a> ]</p>
|
|
|
42 |
{/section}
|
|
|
43 |
</UL>
|
|
|
44 |
{/if}
|