{if $methods && (count($methods) > 1 || ($methods[0].function_name != "__construct" && $methods[0].function_name != "__destruct"))}
{section name=method loop=$methods} {if $methods[method].function_name != "__construct" && $methods[method].function_name != "__destruct"} {/if} {/section}
Method Details

{$methods[method].function_name}

{strip} {if $methods[method].access == "protected"} protected  {/if} {if $methods[method].access == "public"} public  {/if} {if $methods[method].abstract == 1} abstract  {/if} {if $methods[method].static == 1} static  {/if} {$methods[method].function_return}  {$methods[method].function_name} {/strip} {strip} ( {if $methods[method].ifunction_call.params} {foreach item=param name="method" from=$methods[method].ifunction_call.params} {$param.type} {$param.name} {if !$smarty.foreach.method.last}, {/if} {/foreach} {/if} ) {/strip}

{$methods[method].sdesc}

{if $methods[method].desc} {$methods[method].desc} {/if} {* $methods[method]|print_r *}
{if $methods[method].ifunction_call.params} {foreach item=param name="method" from=$methods[method].ifunction_call.params} {/foreach} {/if} {if $methods[method].tags} {foreach item=param name="method" from=$methods[method].tags} {if $param.keyword == "return"} {/if} {/foreach} {/if} {if $methods[method].tags} {foreach item=param name="method" from=$methods[method].tags} {if $param.keyword == "throws"} {/if} {/foreach} {/if}
Input
{$param.type}{$param.name}{$param.description}
Output
{$methods[method].function_return} {$param.data}
Exception
{$param.keyword}{$param.data}
{* include file="_tags.tpl" tags=$methods[method].tags *}

{/if}