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 --- .../apigen/pradosoft/annotation-group.latte | 117 +++++++++++++++++++++ 1 file changed, 117 insertions(+) create mode 100644 buildscripts/apigen/pradosoft/annotation-group.latte (limited to 'buildscripts/apigen/pradosoft/annotation-group.latte') diff --git a/buildscripts/apigen/pradosoft/annotation-group.latte b/buildscripts/apigen/pradosoft/annotation-group.latte new file mode 100644 index 00000000..39c49769 --- /dev/null +++ b/buildscripts/apigen/pradosoft/annotation-group.latte @@ -0,0 +1,117 @@ +{layout '@layout.latte'} +{var $active = 'annotation-group-' . $annotation} + +{block title}{$annotation|firstUpper}{/block} + +{block content} +
+

{include title}

+ + {if $hasElements} + + + {include classes, items => $annotationClasses} +
Classes summary
+ + + + {include classes, items => $annotationInterfaces} +
Interfaces summary
+ + + + {include classes, items => $annotationTraits} +
Traits summary
+ + + + {include classes, items => $annotationExceptions} +
Exceptions summary
+ + + + + + + + +
Methods summary
{$method->declaringClassName}{$method->name}() + {if $method->hasAnnotation($annotation)} + {foreach $method->annotations[$annotation] as $description} + {if $description} + {$description|annotation:$annotation:$method|noescape}
+ {/if} + {/foreach} + {/if} +
+ + + + + {if $constant->declaringClassName} + + + + {else} + + + {/if} + + +
Constants summary
{$constant->declaringClassName}{$constant->name}{$constant->namespaceName}{$constant->shortName} + {foreach $constant->annotations[$annotation] as $description} + {if $description} + {$description|annotation:$annotation:$constant|noescape}
+ {/if} + {/foreach} +
+ + + + + + + + +
Properties summary
{$property->declaringClassName}${$property->name} + {foreach $property->annotations[$annotation] as $description} + {if $description} + {$description|annotation:$annotation:$property|noescape}
+ {/if} + {/foreach} +
+ + + + + + + + +
Functions summary
{$function->namespaceName}{$function->shortName} + {foreach $function->annotations[$annotation] as $description} + {if $description} + {$description|annotation:$annotation:$function|noescape}
+ {/if} + {/foreach} +
+ + {else} +

No elements with @{$annotation} annotation found.

+ {/if} +
+{/block} + + +{define classes} + + {$class->name} + + {foreach $class->annotations[$annotation] as $description} + {if $description} + {$description|annotation:$annotation:$class|noescape}
+ {/if} + {/foreach} + + +{/define} -- cgit v1.2.3