summaryrefslogtreecommitdiff
path: root/buildscripts/PhpDocumentor/phpDocumentor/Converters/HTML/Smarty/templates/PradoSoft/templates/_inherited_methods.tpl
blob: 55aafb1753b6ad488d090267344484c9ecc49a1f (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
39
40
41
42
{if $imethods}
    {section name=imethod loop=$imethods}
        {if count($imethods[imethod].imethods) > 1 ||
            ($imethods[imethod].imethods[0].name != "__construct" &&
             $imethods[imethod].imethods[0].name != "__destruct" &&
             $imethods[imethod].imethods[0].abstract != "1")}
            <table class="inherited-methods" cellspacing="1">
                <tr>
                    <th>Methods Inherited From {$imethods[imethod].parent_class}</th>
                </tr>
                <tr>
                    <td>
                        {* assign var="_methods" value="" *}

                        {section name=_method loop=$imethods[imethod].imethods}
                            {if $imethods[imethod].imethods[_method].name != "__construct" &&
                                $imethods[imethod].imethods[_method].abstract != "1"}
                                {*
				{if $_methods != ""}
                                    {append var="_methods" value=", "}
                                {/if}
				
                                {extract_attribute attribute="href"
                                                   element=$imethods[imethod].imethods[_method].link
                                                   var="href" append="no"}

                                {append var="_methods" value="<a href=\""}
                                {append var="_methods" value=$href}
                                {append var="_methods" value="\">"}
                                {append var="_methods" value=$imethods[imethod].imethods[_method].name}
                                {append var="_methods" value="</a>"}
                            	*}
				{$imethods[imethod].imethods[_method].link}{if !$smarty.section._method.last},{/if}
				{/if}
                        {/section}

                    </td>
                </tr>
            </table>
        {/if}
    {/section}
{/if}