summaryrefslogtreecommitdiff
path: root/buildscripts/apigen/pradosoft/todo.latte
diff options
context:
space:
mode:
Diffstat (limited to 'buildscripts/apigen/pradosoft/todo.latte')
-rw-r--r--buildscripts/apigen/pradosoft/todo.latte112
1 files changed, 112 insertions, 0 deletions
diff --git a/buildscripts/apigen/pradosoft/todo.latte b/buildscripts/apigen/pradosoft/todo.latte
new file mode 100644
index 00000000..0eb54a9e
--- /dev/null
+++ b/buildscripts/apigen/pradosoft/todo.latte
@@ -0,0 +1,112 @@
+{*
+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 = 'todo'}
+
+{block #title}Todo{/block}
+
+{block #content}
+<div id="content">
+ <h1>{include #title}</h1>
+
+ {define #classes}
+ {foreach $items as $class}
+ <tr>
+ <td class="name" rowspan="{count($class->annotations['todo'])}"><a href="{$class|classUrl}">{$class->name}</a></td>
+ {foreach $class->annotations['todo'] as $description}
+ <td>{!$description|annotation:'todo':$class}</td>{sep}</tr><tr>{/sep}
+ {/foreach}
+ </tr>
+ {/foreach}
+ {/define}
+
+ <table class="summary" id="classes" n:if="$todoClasses">
+ <caption>Classes summary</caption>
+ {include #classes, items => $todoClasses}
+ </table>
+
+ <table class="summary" id="interfaces" n:if="$todoInterfaces">
+ <caption>Interfaces summary</caption>
+ {include #classes, items => $todoInterfaces}
+ </table>
+
+ <table class="summary" id="traits" n:if="$todoTraits">
+ <caption>Traits summary</caption>
+ {include #classes, items => $todoTraits}
+ </table>
+
+ <table class="summary" id="exceptions" n:if="$todoExceptions">
+ <caption>Exceptions summary</caption>
+ {include #classes, items => $todoExceptions}
+ </table>
+
+ <table class="summary" id="methods" n:if="$todoMethods">
+ <caption>Methods summary</caption>
+ {foreach $todoMethods as $method}
+ <tr>
+ {var $count = count($method->annotations['todo'])}
+ <td class="name" rowspan="{$count}"><a href="{$method->declaringClassName|classUrl}">{$method->declaringClassName}</a></td>
+ <td class="name" rowspan="{$count}"><code><a href="{$method|methodUrl}">{$method->name}()</a></code></td>
+ {foreach $method->annotations['todo'] as $description}
+ <td>{!$description|annotation:'todo':$method}</td>{sep}</tr><tr>{/sep}
+ {/foreach}
+ </tr>
+ {/foreach}
+ </table>
+
+ <table class="summary" id="constants" n:if="$todoConstants">
+ <caption>Constants summary</caption>
+ {foreach $todoConstants as $constant}
+ <tr>
+ {var $count = count($constant->annotations['todo'])}
+ {if $constant->declaringClassName}
+ <td class="name" rowspan="{$count}"><a href="{$constant->declaringClassName|classUrl}">{$constant->declaringClassName}</a></td>
+ <td class="name" rowspan="{$count}"><code><a href="{$constant|constantUrl}"><b>{$constant->name}</b></a></code></td>
+ {else}
+ <td class="name" rowspan="{$count}" n:if="$namespaces || $classes || $interfaces || $traits || $exceptions"><a n:if="$constant->namespaceName" href="{$constant->namespaceName|namespaceUrl}">{$constant->namespaceName}</a></td>
+ <td n:class="name" rowspan="{$count}"><code><a href="{$constant|constantUrl}"><b>{$constant->shortName}</b></a></code></td>
+ {/if}
+ {foreach $constant->annotations['todo'] as $description}
+ <td>{!$description|annotation:'todo':$constant}</td>{sep}</tr><tr>{/sep}
+ {/foreach}
+ </tr>
+ {/foreach}
+ </table>
+
+ <table class="summary" id="properties" n:if="$todoProperties">
+ <caption>Properties summary</caption>
+ {foreach $todoProperties as $property}
+ <tr>
+ {var $count = count($property->annotations['todo'])}
+ <td class="name" rowspan="{$count}"><a href="{$property->declaringClassName|classUrl}">{$property->declaringClassName}</a></td>
+ <td class="name" rowspan="{$count}"><a href="{$property|propertyUrl}"><var>${$property->name}</var></a></td>
+ {foreach $property->annotations['todo'] as $description}
+ <td>{!$description|annotation:'todo':$property}</td>{sep}</tr><tr>{/sep}
+ {/foreach}
+ </tr>
+ {/foreach}
+ </table>
+
+ <table class="summary" id="functions" n:if="$todoFunctions">
+ <caption>Functions summary</caption>
+ {foreach $todoFunctions as $function}
+ <tr>
+ {var $count = count($function->annotations['todo'])}
+ <td class="name" rowspan="{$count}" n:if="$namespaces"><a n:if="$function->namespaceName" href="{$function->namespaceName|namespaceUrl}">{$function->namespaceName}</a></td>
+ <td class="name" rowspan="{$count}"><code><a href="{$function|functionUrl}">{$function->shortName}</a></code></td>
+ {foreach $function->annotations['todo'] as $description}
+ <td>{!$description|annotation:'todo':$function}</td>{sep}</tr><tr>{/sep}
+ {/foreach}
+ </tr>
+ {/foreach}
+ </table>
+</div>
+{/block} \ No newline at end of file