{*
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)
Copyright (c) 2012 Olivier Laviale (https://github.com/olvlvl)
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}
{include #title}
{define #classes}
{foreach $items as $class}
{$class->name} |
{foreach $class->annotations['todo'] as $description}
{!$description|annotation:'todo':$class} | {sep}
{/sep}
{/foreach}
{/foreach}
{/define}
{if $todoClasses}
Classes summary
{include #classes, items => $todoClasses}
{/if}
{if $todoInterfaces}
Interfaces summary
{include #classes, items => $todoInterfaces}
{/if}
{if $todoTraits}
Traits summary
{include #classes, items => $todoTraits}
{/if}
{if $todoExceptions}
Exceptions summary
{include #classes, items => $todoExceptions}
{/if}
{if $todoMethods}
Methods summary
{foreach $todoMethods as $method}
{var $count = count($method->annotations['todo'])}
{$method->declaringClassName} |
{$method->name}() |
{foreach $method->annotations['todo'] as $description}
{!$description|annotation:'todo':$method} | {sep}
{/sep}
{/foreach}
{/foreach}
{/if}
{if $todoConstants}
Constants summary
{/if}
{if $todoProperties}
Properties summary
{foreach $todoProperties as $property}
{var $count = count($property->annotations['todo'])}
{$property->declaringClassName} |
${$property->name} |
{foreach $property->annotations['todo'] as $description}
{!$description|annotation:'todo':$property} | {sep}
{/sep}
{/foreach}
{/foreach}
{/if}
{if $todoFunctions}
Functions summary
{foreach $todoFunctions as $function}
{var $count = count($function->annotations['todo'])}
{$function->namespaceName} |
{$function->shortName} |
{foreach $function->annotations['todo'] as $description}
{!$description|annotation:'todo':$function} | {sep}
{/sep}
{/foreach}
{/foreach}
{/if}
{/block}