summaryrefslogtreecommitdiff
path: root/buildscripts/apigen/pradosoft/overview.latte
diff options
context:
space:
mode:
Diffstat (limited to 'buildscripts/apigen/pradosoft/overview.latte')
-rw-r--r--buildscripts/apigen/pradosoft/overview.latte56
1 files changed, 56 insertions, 0 deletions
diff --git a/buildscripts/apigen/pradosoft/overview.latte b/buildscripts/apigen/pradosoft/overview.latte
new file mode 100644
index 00000000..96d205ff
--- /dev/null
+++ b/buildscripts/apigen/pradosoft/overview.latte
@@ -0,0 +1,56 @@
+{*
+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 = 'overview'}
+
+{block #title}{$config->title ?: 'Overview'}{/block}
+
+{block #content}
+<div id="content">
+ <h1>{include #title}</h1>
+
+ {var $group = false}
+
+ {if $namespaces}
+ {if}
+ <table class="summary" id="namespaces">
+ <caption>Namespaces summary</caption>
+ {foreach $namespaces as $namespace}
+ {continueIf $config->main && 0 !== strpos($namespace, $config->main)}
+ <tr>
+ {var $group = true}
+ <td class="name"><a href="{$namespace|namespaceUrl}">{$namespace}</a></td>
+ </tr>
+ {/foreach}
+ </table>
+ {/if $iterations}
+ {/if}
+
+ {if $packages}
+ {if}
+ <table class="summary" id="packages">
+ <caption>Packages summary</caption>
+ {foreach $packages as $package}
+ {continueIf $config->main && 0 !== strpos($package, $config->main)}
+ <tr>
+ {var $group = true}
+ <td class="name"><a href="{$package|packageUrl}">{$package}</a></td>
+ </tr>
+ {/foreach}
+ </table>
+ {/if $iterations}
+ {/if}
+
+ {if !$group}
+ {include '@elementlist.latte'}
+ {/if}
+</div>
+{/block} \ No newline at end of file