mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-25 19:48:49 +02:00
- generate phpdoc to a dokuwiki compatible format - add/update the phpdoc of a selection of class methods
52 lines
1.3 KiB
Twig
52 lines
1.3 KiB
Twig
{% extends 'layout.txt.twig' %}
|
|
|
|
{% block content %}
|
|
{% set namespace = project.namespace %}
|
|
{{ block('sidebarNamespaces') }}
|
|
|
|
{#{{ node.parent|raw }}#}
|
|
{#====== {{ node.parent.fullyQualifiedStructuralElementName }}{{ node.name }} ======#}
|
|
|
|
{% if node.children|length > 0 %}
|
|
=====Namespaces=====
|
|
{% include 'includes/namespace-structure-toc.html.twig' with {structures: node.children} %}
|
|
----
|
|
{% endif %}
|
|
|
|
{% if node.traits|length > 0 %}
|
|
===== Traits =====
|
|
{% include 'includes/namespace-structure-toc.html.twig' with {structures: node.traits} %}
|
|
----
|
|
{%- endif %}
|
|
|
|
{% if node.interfaces|length > 0 %}
|
|
===== Interfaces =====
|
|
{% include 'includes/namespace-structure-toc.html.twig' with {structures: node.interfaces} %}
|
|
----
|
|
{% endif %}
|
|
|
|
{% if node.classes|length > 0 %}
|
|
===== Classes =====
|
|
{% include 'includes/namespace-structure-toc.html.twig' with {structures: node.classes} %}
|
|
----
|
|
{% endif %}
|
|
|
|
|
|
|
|
{#{% if node.constants|length > 0 %}#}
|
|
{#===== Constants =====#}
|
|
{#{% for constant in node.constants|sort_asc %}#}
|
|
{# {{ block('constant') }}#}
|
|
{#{% endfor %}#}
|
|
{#{% endif %}#}
|
|
|
|
{#{% if node.functions|length > 0 %}#}
|
|
{#===== Functions =====#}
|
|
|
|
{#{% for method in node.functions|sort_asc %}#}
|
|
{# {{ block('method') }}#}
|
|
{#{% endfor %}#}
|
|
{#{% endif %}#}
|
|
|
|
{% endblock %}
|