woocommerce/apigen/theme-woocommerce/@elementlist.latte

61 lines
1.8 KiB
Plaintext
Raw Normal View History

2015-01-16 16:06:58 +00:00
{define elements}
<tr n:foreach="$elements as $element">
<td class="name"><a href="{$element|elementUrl}" n:class="$element->deprecated ? deprecated, !$element->valid ? invalid">{if $namespace}{$element->shortName}{else}{$element->name}{/if}</a></td>
<td>{$element|shortDescription|noescape}</td>
</tr>
{/define}
2015-11-20 10:05:33 +00:00
{if $classes}
<div class="panel panel-default">
<div class="panel-heading"><h2>Classes summary</h2></div>
2015-11-20 10:05:33 +00:00
<table class="summary table table-bordered table-striped" id="classes">
{include elements, elements => $classes}
</table>
</div>
{/if}
2015-01-16 16:06:58 +00:00
2015-11-20 10:05:33 +00:00
{if $interfaces}
<div class="panel panel-default">
<div class="panel-heading"><h2>Interfaces summary</h2></div>
2015-11-20 10:05:33 +00:00
<table class="summary table table-bordered table-striped" id="interfaces">
{include elements, elements => $interfaces}
</table>
</div>
{/if}
2015-01-16 16:06:58 +00:00
2015-11-20 10:05:33 +00:00
{if $traits}
<div class="panel panel-default">
<div class="panel-heading"><h2>Traits summary</h2></div>
2015-11-20 10:05:33 +00:00
<table class="summary table table-bordered table-striped" id="traits">
{include elements, elements => $traits}
</table>
</div>
{/if}
2015-01-16 16:06:58 +00:00
2015-11-20 10:05:33 +00:00
{if $exceptions}
<div class="panel panel-default">
<div class="panel-heading"><h2>Exceptions summary</h2></div>
2015-11-20 10:05:33 +00:00
<table class="summary table table-bordered table-striped" id="exceptions">
{include elements, elements => $exceptions}
</table>
</div>
{/if}
2015-01-16 16:06:58 +00:00
2015-11-20 10:05:33 +00:00
{if $constants}
<div class="panel panel-default">
<div class="panel-heading"><h2>Constants summary</h2></div>
2015-11-20 10:05:33 +00:00
<table class="summary table table-bordered table-striped" id="constants">
{include elements, elements => $constants}
</table>
</div>
{/if}
2015-01-16 16:06:58 +00:00
2015-11-20 10:05:33 +00:00
{if $functions}
<div class="panel panel-default">
<div class="panel-heading"><h2>Functions summary</h2></div>
2015-11-20 10:05:33 +00:00
<table class="summary table table-bordered table-striped" id="functions">
{include elements, elements => $functions}
</table>
</div>
{/if}