mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-25 11:38:44 +02:00
- generate phpdoc to a dokuwiki compatible format - add/update the phpdoc of a selection of class methods
24 lines
632 B
Twig
24 lines
632 B
Twig
{% if title_level is not defined %}
|
|
{% set title_level='' %}
|
|
{% endif %}
|
|
{% for tagName,tags in structure.tags if tagName in ['used-by'] %}
|
|
{% if loop.first %}
|
|
{{title_level}} Used by {{title_level}}
|
|
{% endif %}
|
|
{% for tag in tags %}
|
|
{% if loop.length > 1 %} * {% endif %}{{ tag.reference ?: tag.link }} : {{ tag.description ?: tag.reference }}
|
|
{% endfor %}
|
|
{% endfor %}
|
|
|
|
|
|
|
|
|
|
|
|
{#{% for tagName,tags in method.tags if tagName in ['uses'] %}#}
|
|
{#{% if loop.first %}#}
|
|
{#<dt>Uses</dt>#}
|
|
{#{% endif %}#}
|
|
{#{% for tag in tags %}#}
|
|
{#<dd>{{ tag.reference|raw }}</dd>#}
|
|
{#{% endfor %}#}
|
|
{#{% endfor %}#} |