summaryrefslogtreecommitdiff
path: root/buildscripts/PhpDocumentor/phpDocumentor/Converters/HTML/Smarty/templates/PradoSoft/templates/_inherited_constants.tpl
blob: 66c3763305a0d4dacdcbc1b5319a940fa1abc8fc (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
{if $iconsts}
    {section name=iconst loop=$iconsts}
        <table class="inherited-constants" cellspacing="1">
            <tr>
                <th>Constants Inherited From {$iconsts[iconst].parent_class}</th>
            </tr>
            <tr>
                <td>
                    {assign var="_consts" value=""}

                    {section name=_const loop=$iconsts[iconst].iconsts}
                        {if $_consts != ""},
                           {* append var="_consts" value=", "*}
                        {/if}
			<a href="{$href}">{$iconsts[iconst].iconsts[_const].name}</a>{if !$smarty.section.name.last},{/if}
			{*	
                        {extract_attribute attribute="href"
                                           element=$iconsts[iconst].iconsts[_const].link
                                           var="href" append="no"}

                        {append var="_consts" value="<a href=\""}
                        {append var="_consts" value=$href}
                        {append var="_consts" value="\">"}
                        {append var="_consts" value=$iconsts[iconst].iconsts[_const].name}
                        {append var="_consts" value="</a>"}
			*}                    
{/section}

                    {*$_consts*}
                </td>
            </tr>
        </table>
    {/section}
{/if}