From 5cd46e5a0da3841719d0676a06c963c70c5a524c Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Mon, 9 Nov 2015 01:15:12 +0100 Subject: Created theme for apigen4, wsat doc fixes --- buildscripts/apigen/pradosoft/function.latte | 45 +++++++++++----------------- 1 file changed, 18 insertions(+), 27 deletions(-) (limited to 'buildscripts/apigen/pradosoft/function.latte') diff --git a/buildscripts/apigen/pradosoft/function.latte b/buildscripts/apigen/pradosoft/function.latte index 6c4c3238..5797cf17 100644 --- a/buildscripts/apigen/pradosoft/function.latte +++ b/buildscripts/apigen/pradosoft/function.latte @@ -1,52 +1,43 @@ -{* -ApiGen 2.8.0 - API documentation generator for PHP 5.3+ - -Copyright (c) 2010-2011 David Grudl (http://davidgrudl.com) -Copyright (c) 2011-2012 Jaroslav Hanslík (https://github.com/kukulich) -Copyright (c) 2011-2012 Ondřej Nešpor (https://github.com/Andrewsville) - -For the full copyright and license information, please view -the file LICENSE.md that was distributed with this source code. -*} {layout '@layout.latte'} {var $active = 'function'} -{block #title}{if $function->deprecated}Deprecated {/if}Function {$function->name}{/block} +{block title}{if $function->deprecated}Deprecated {/if}Function {$function->name}{/block} -{block #content} +{block content}

Function {$function->shortName}

{if $function->valid}
- {!$function|longDescription} + {$function|longDescription|noescape}
- {if $function->inNamespace()}Namespace: {!$function->namespaceName|namespaceLinks}
{/if} - {if $function->inPackage()}Package: {!$function->packageName|packageLinks}
{/if} + {if $function->inNamespace()}Namespace: {$function->namespaceName|namespaceLinks|noescape}
{/if} + {if $function->inPackage()}Package: {$function->packageName|packageLinks|noescape}
{/if} {foreach $template->annotationSort($template->annotationFilter($function->annotations, array('param', 'return', 'throws'))) as $annotation => $values} {foreach $values as $value} {$annotation|annotationBeautify}{if $value}:{/if} - {!$value|annotation:$annotation:$function}
+ {$value|annotation:$annotation:$function|noescape}
{/foreach} {/foreach} - Located at {$function->fileName|relativePath}
+ Located at + + {$function->fileName|relativePath} +
{var $annotations = $function->annotations} - +
- + - +
Parameters summary
{!$parameter->typeHint|typeLinks:$function}{$parameter->typeHint|typeLinks:$function|noescape} {block|strip} - {if $parameter->passedByReference}& {/if}${$parameter->name}{if $parameter->defaultValueAvailable} = {!$parameter->defaultValueDefinition|highlightPHP:$function}{elseif $parameter->unlimited},…{/if} + {if $parameter->passedByReference}& {/if}${$parameter->name}{if $parameter->defaultValueAvailable} = {$parameter->defaultValueDefinition|highlightPHP:$function|noescape}{elseif $parameter->unlimited},…{/if} {/block} - {ifset $annotations['param'][$parameter->position]}{!$annotations['param'][$parameter->position]|description:$parameter}{/ifset} - {$parameter->description|description:$function}
@@ -54,10 +45,10 @@ the file LICENSE.md that was distributed with this source code. Return value summary - {!$annotations['return'][0]|typeLinks:$function} + {$annotations['return'][0]|typeLinks:$function|noescape} - {!$annotations['return'][0]|description:$function} + {$annotations['return'][0]|description:$function|noescape} @@ -66,10 +57,10 @@ the file LICENSE.md that was distributed with this source code. Thrown exceptions summary - {!$throws|typeLinks:$function} + {$throws|typeLinks:$function|noescape} - {!$throws|description:$function} + {$throws|description:$function|noescape} -- cgit v1.2.3