+++ /dev/null
-{section name=func loop=$functions}\r
-<a name="{$functions[func].function_dest}" id="{$functions[func].function_dest}"><!-- --></a>\r
-<div class="{cycle values="evenrow,oddrow"}">\r
- \r
- <div>\r
- <img src="{$subdir}media/images/Function.png" />\r
- <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>)\r
- </div> \r
-\r
- {include file="docblock.tpl" sdesc=$functions[func].sdesc desc=$functions[func].desc tags=$functions[func].tags params=$functions[func].params function=false}\r
- <div class="method-signature">\r
- <span class="method-result">{$functions[func].function_return}</span>\r
- <span class="method-name">\r
- {if $functions[func].ifunction_call.returnsref}&{/if}{$functions[func].function_name}\r
- </span>\r
- {if count($functions[func].ifunction_call.params)}\r
- ({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})\r
- {else}\r
- ()\r
- {/if}\r
- </div>\r
-\r
- {if $functions[func].params}\r
- <ul class="parameters">\r
- {section name=params loop=$functions[func].params}\r
- <li>\r
- <span class="var-type">{$functions[func].params[params].datatype}</span>\r
- <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}\r
- </li>\r
- {/section}\r
- </ul>\r
- {/if}\r
- \r
- {if $functions[func].function_conflicts.conflict_type}\r
- <hr class="separator" />\r
- <div><span class="warning">Conflicts with functions:</span><br /> \r
- {section name=me loop=$functions[func].function_conflicts.conflicts}\r
- {$functions[func].function_conflicts.conflicts[me]}<br />\r
- {/section}\r
- </div>\r
- {/if}\r
-\r
-</div>\r
-{/section}\r