From 3069eaf35e833ffe4a1c1c7829dd7e168ae27420 Mon Sep 17 00:00:00 2001 From: Ciro Mattia Gonano Date: Wed, 11 Sep 2013 15:56:48 +0200 Subject: Merge up to r3319 --- buildscripts/apigen/pradosoft/constant.latte | 66 ++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 buildscripts/apigen/pradosoft/constant.latte (limited to 'buildscripts/apigen/pradosoft/constant.latte') diff --git a/buildscripts/apigen/pradosoft/constant.latte b/buildscripts/apigen/pradosoft/constant.latte new file mode 100644 index 00000000..441c245d --- /dev/null +++ b/buildscripts/apigen/pradosoft/constant.latte @@ -0,0 +1,66 @@ +{* +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 #content} +
+

Constant {$constant->shortName}

+ + {if $constant->valid} + +
+ {!$constant|longDescription} +
+ +
+ {if $constant->inNamespace()}Namespace: {!$constant->namespaceName|namespaceLinks}
{/if} + {if $constant->inPackage()}Package: {!$constant->packageName|packageLinks}
{/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}
+ {/foreach} + {/foreach} + Located at {$constant->fileName|relativePath}
+
+ + {var $annotations = $constant->annotations} + + + + + + + + +
Value summary
{!$constant->typeHint|typeLinks:$constant}{block|strip} + {var $element = $template->resolveElement($constant->valueDefinition, $constant)} + {if $element}{$constant->valueDefinition}{else}{!$constant->valueDefinition|highlightValue:$constant}{/if} + {/block}{ifset $annotations['var']}{!$annotations['var'][0]|description:$constant}{/ifset}
+ + {else} +
+

+ Documentation of this constant could not be generated. +

+

+ Constant was originally declared in {$constant->fileName|relativePath} and is invalid because of: +

+
    +
  • Constant was redeclared in {$reason->getSender()->getFileName()|relativePath}.
  • +
+
+ {/if} +
+{/block} -- cgit v1.2.3