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/constant.latte | 32 +++++++++++----------------- 1 file changed, 12 insertions(+), 20 deletions(-) (limited to 'buildscripts/apigen/pradosoft/constant.latte') diff --git a/buildscripts/apigen/pradosoft/constant.latte b/buildscripts/apigen/pradosoft/constant.latte index 441c245d..8552446d 100644 --- a/buildscripts/apigen/pradosoft/constant.latte +++ b/buildscripts/apigen/pradosoft/constant.latte @@ -1,38 +1,31 @@ -{* -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 = 'constant'} -{block #title}{if $constant->deprecated}Deprecated {/if}Constant {$constant->name}{/block} +{block title}{if $constant->deprecated}Deprecated {/if}Constant {$constant->name}{/block} -{block #content} +{block content}

Constant {$constant->shortName}

{if $constant->valid}
- {!$constant|longDescription} + {$constant|longDescription|noescape}
- {if $constant->inNamespace()}Namespace: {!$constant->namespaceName|namespaceLinks}
{/if} - {if $constant->inPackage()}Package: {!$constant->packageName|packageLinks}
{/if} + {if $constant->inNamespace()}Namespace: {$constant->namespaceName|namespaceLinks|noescape}
{/if} + {if $constant->inPackage()}Package: {$constant->packageName|packageLinks|noescape}
{/if} {foreach $template->annotationSort($template->annotationFilter($constant->annotations, array('var'))) as $annotation => $values} {foreach $values as $value} {$annotation|annotationBeautify}{if $value}:{/if} - {!$value|annotation:$annotation:$constant}
+ {$value|annotation:$annotation:$constant|noescape}
{/foreach} {/foreach} - Located at {$constant->fileName|relativePath}
+ Located at + + {$constant->fileName|relativePath} +
{var $annotations = $constant->annotations} @@ -40,12 +33,11 @@ the file LICENSE.md that was distributed with this source code. - + -
Value summary
{!$constant->typeHint|typeLinks:$constant}{$constant->typeHint|typeLinks:$constant|noescape} {block|strip} {var $element = $template->resolveElement($constant->valueDefinition, $constant)} - {if $element}{$constant->valueDefinition}{else}{!$constant->valueDefinition|highlightValue:$constant}{/if} + {if $element}{$constant->valueDefinition}{else}{$constant->valueDefinition|highlightValue:$constant|noescape}{/if} {/block}{ifset $annotations['var']}{!$annotations['var'][0]|description:$constant}{/ifset}
-- cgit v1.2.3