1<refentry id="{$id}"> 2 <refnamediv> 3 <refname>{if $function_call.constructor}constructor {/if}<function>{$class}::{$function_name}</function></refname> 4 <refpurpose>{$sdesc|default:$function_name}</refpurpose> 5 </refnamediv> 6 <refsynopsisdiv> 7 <funcsynopsis> 8 <funcsynopsisinfo> 9 require_once '{$source_location}'; 10 </funcsynopsisinfo> 11 <funcprototype> 12 <funcdef>{$function_return}{if $function_call.returnsref}&{/if} 13 {if $function_call.constructor}constructor {/if}<function>{$class}::{$function_name}</function></funcdef> 14{if count($function_call.params)} 15{section name=params loop=$function_call.params} 16 <paramdef>{if @strpos('>',$function_call.params[params].type)}<replaceable>{/if}{$function_call.params[params].type}{if @strpos('>',$function_call.params[params].type)}</replaceable>{/if} <parameter>{if $function_call.params[params].hasdefault} <optional>{/if}{$function_call.params[params].name|replace:"&":"&"}{if $function_call.params[params].hasdefault} = {$function_call.params[params].default}</optional>{/if}</parameter></paramdef> 17{/section} 18{else} 19<paramdef></paramdef> 20{/if} 21 </funcprototype> 22 </funcsynopsis> 23 </refsynopsisdiv> 24{include file="docblock.tpl" cparams=$params params=$function_call.params desc=$desc tags=$tags} 25</refentry> 26<!-- Keep this comment at the end of the file 27Local variables: 28mode: sgml 29sgml-omittag:t 30sgml-shorttag:t 31sgml-minimize-attributes:nil 32sgml-always-quote-attributes:t 33sgml-indent-step:1 34sgml-indent-data:t 35sgml-parent-document:nil 36sgml-default-dtd-file:"../../../../manual.ced" 37sgml-exposed-tags:nil 38sgml-local-catalogs:nil 39sgml-local-ecat-files:nil 40End: 41vim600: syn=xml fen fdm=syntax fdl=2 si 42vim: et tw=78 syn=sgml 43vi: ts=1 sw=1 44--> 45 46