summaryrefslogtreecommitdiff
path: root/buildscripts/PhpDocumentor/phpDocumentor/Converters/HTML/Smarty/templates/PradoSoft/templates/_class_declaration.tpl
blob: d7fe2f82e910ee6c528dae98261f88d1568cefd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<hr size="1" noshade="noshade"/>
<div class="class-declaration">
    {if count($tags) > 0}
        {section name=tag loop=$tags}
            {if $tags[tag].keyword == "abstract"}
                abstract
            {/if}
        {/section}
    {/if}

    {if $is_interface}
        interface
    {else}
        class
    {/if}

    <strong>{$class_name}</strong>

    {if count($class_tree) > 1}
        {section name=tree loop=$class_tree.classes}
            {if $smarty.section.tree.last}
                extends {$class_tree.classes[$smarty.section.tree.index_prev]}
            {/if}
        {/section}
    {/if}

    {if $implements}
        <br/>
        implements
        {foreach item="interface" from=$implements}
            {if !$smarty.foreach.interface.first}
                , {$interface}
            {else}
                {$interface}
            {/if}
        {/foreach}
    {/if}
</div>