c732184d8969c508f4e76794629e79d1e17290bf
[atutor.git] / mods / phpdoc2 / PhpDocumentor / phpDocumentor / Converters / HTML / frames / templates / earthli / templates / method.tpl
1 <A NAME='method_detail'></A>\r
2 {section name=methods loop=$methods}\r
3 {if $methods[methods].static}\r
4 <a name="method{$methods[methods].function_name}" id="{$methods[methods].function_name}"><!-- --></a>\r
5 <div class="{cycle values="evenrow,oddrow"}">\r
6         \r
7         <div class="method-header">\r
8                 <img src="{$subdir}media/images/StaticMethod.png" />\r
9                 <span class="method-title">static {$methods[methods].function_name}</span> (line <span class="line-number">{if $methods[methods].slink}{$methods[methods].slink}{else}{$methods[methods].line_number}{/if}</span>)\r
10         </div> \r
11         \r
12         {include file="docblock.tpl" sdesc=$methods[methods].sdesc desc=$methods[methods].desc tags=$methods[methods].tags params=$methods[methods].params function=false}\r
13         \r
14         <div class="method-signature">\r
15                 <span class="method-result">{$methods[methods].function_return}</span>\r
16                 <span class="method-name">\r
17                         {if $methods[methods].ifunction_call.returnsref}&amp;{/if}{$methods[methods].function_name}\r
18                 </span>\r
19                 {if count($methods[methods].ifunction_call.params)}\r
20                         ({section name=params loop=$methods[methods].ifunction_call.params}{if $smarty.section.params.iteration != 1}, {/if}{if $methods[methods].ifunction_call.params[params].hasdefault}[{/if}<span class="var-type">{$methods[methods].ifunction_call.params[params].type}</span>&nbsp;<span class="var-name">{$methods[methods].ifunction_call.params[params].name}</span>{if $methods[methods].ifunction_call.params[params].hasdefault} = <span class="var-default">{$methods[methods].ifunction_call.params[params].default}</span>]{/if}{/section})\r
21                 {else}\r
22                 ()\r
23                 {/if}\r
24         </div>\r
25         \r
26         {if $methods[methods].params}\r
27                 <ul class="parameters">\r
28                 {section name=params loop=$methods[methods].params}\r
29                         <li>\r
30                                 <span class="var-type">{$methods[methods].params[params].datatype}</span>\r
31                                 <span class="var-name">{$methods[methods].params[params].var}</span>{if $methods[methods].params[params].data}<span class="var-description">: {$methods[methods].params[params].data}</span>{/if}\r
32                         </li>\r
33                 {/section}\r
34                 </ul>\r
35         {/if}\r
36         \r
37         {if $methods[methods].method_overrides}\r
38                 <hr class="separator" />\r
39                 <div class="notes">Redefinition of:</div>\r
40                 <dl>\r
41                         <dt>{$methods[methods].method_overrides.link}</dt>\r
42                         {if $methods[methods].method_overrides.sdesc}\r
43                         <dd>{$methods[methods].method_overrides.sdesc}</dd>\r
44                         {/if}\r
45                 </dl>\r
46         {/if}\r
47         {if $methods[methods].method_implements}\r
48                 <hr class="separator" />\r
49                 <div class="notes">Implementation of:</div>\r
50         {section name=imp loop=$methods[methods].method_implements}\r
51                 <dl>\r
52                         <dt>{$methods[methods].method_implements[imp].link}</dt>\r
53                         {if $methods[methods].method_implements[imp].sdesc}\r
54                         <dd>{$methods[methods].method_implements[imp].sdesc}</dd>\r
55                         {/if}\r
56                 </dl>\r
57         {/section}\r
58         {/if}\r
59         \r
60         {if $methods[methods].descmethod}\r
61                 <hr class="separator" />\r
62                 <div class="notes">Redefined in descendants as:</div>\r
63                 <ul class="redefinitions">\r
64                 {section name=dm loop=$methods[methods].descmethod}\r
65                         <li>\r
66                                 {$methods[methods].descmethod[dm].link}\r
67                                 {if $methods[methods].descmethod[dm].sdesc}\r
68                                 : {$methods[methods].descmethod[dm].sdesc}\r
69                                 {/if}\r
70                         </li>\r
71                 {/section}\r
72                 </ul>\r
73         {/if}\r
74 </div>\r
75 {/if}\r
76 {/section}\r
77 {section name=methods loop=$methods}\r
78 {if !$methods[methods].static}\r
79 <a name="method{$methods[methods].function_name}" id="{$methods[methods].function_name}"><!-- --></a>\r
80 <div class="{cycle values="evenrow,oddrow"}">\r
81         \r
82         <div class="method-header">\r
83                 <img src="{$subdir}media/images/{if $methods[methods].ifunction_call.constructor}Constructor{elseif $methods[methods].ifunction_call.destructor}Destructor{else}{if $methods[methods].abstract}Abstract{/if}{if $methods[methods].access == 'private'}Private{/if}Method{/if}.png" />\r
84                 <span class="method-title">{if $methods[methods].ifunction_call.constructor}Constructor {elseif $methods[methods].ifunction_call.destructor}Destructor {/if}{$methods[methods].function_name}</span> (line <span class="line-number">{if $methods[methods].slink}{$methods[methods].slink}{else}{$methods[methods].line_number}{/if}</span>)\r
85         </div> \r
86         \r
87         {include file="docblock.tpl" sdesc=$methods[methods].sdesc desc=$methods[methods].desc tags=$methods[methods].tags params=$methods[methods].params function=false}\r
88         \r
89         <div class="method-signature">\r
90                 <span class="method-result">{$methods[methods].function_return}</span>\r
91                 <span class="method-name">\r
92                         {if $methods[methods].ifunction_call.returnsref}&amp;{/if}{$methods[methods].function_name}\r
93                 </span>\r
94                 {if count($methods[methods].ifunction_call.params)}\r
95                         ({section name=params loop=$methods[methods].ifunction_call.params}{if $smarty.section.params.iteration != 1}, {/if}{if $methods[methods].ifunction_call.params[params].hasdefault}[{/if}<span class="var-type">{$methods[methods].ifunction_call.params[params].type}</span>&nbsp;<span class="var-name">{$methods[methods].ifunction_call.params[params].name}</span>{if $methods[methods].ifunction_call.params[params].hasdefault} = <span class="var-default">{$methods[methods].ifunction_call.params[params].default}</span>]{/if}{/section})\r
96                 {else}\r
97                 ()\r
98                 {/if}\r
99         </div>\r
100         \r
101         {if $methods[methods].params}\r
102                 <ul class="parameters">\r
103                 {section name=params loop=$methods[methods].params}\r
104                         <li>\r
105                                 <span class="var-type">{$methods[methods].params[params].datatype}</span>\r
106                                 <span class="var-name">{$methods[methods].params[params].var}</span>{if $methods[methods].params[params].data}<span class="var-description">: {$methods[methods].params[params].data}</span>{/if}\r
107                         </li>\r
108                 {/section}\r
109                 </ul>\r
110         {/if}\r
111         \r
112         {if $methods[methods].method_overrides}\r
113                 <hr class="separator" />\r
114                 <div class="notes">Redefinition of:</div>\r
115                 <dl>\r
116                         <dt>{$methods[methods].method_overrides.link}</dt>\r
117                         {if $methods[methods].method_overrides.sdesc}\r
118                         <dd>{$methods[methods].method_overrides.sdesc}</dd>\r
119                         {/if}\r
120                 </dl>\r
121         {/if}\r
122         {if $methods[methods].method_implements}\r
123                 <hr class="separator" />\r
124                 <div class="notes">Implementation of:</div>\r
125         {section name=imp loop=$methods[methods].method_implements}\r
126                 <dl>\r
127                         <dt>{$methods[methods].method_implements[imp].link}</dt>\r
128                         {if $methods[methods].method_implements[imp].sdesc}\r
129                         <dd>{$methods[methods].method_implements[imp].sdesc}</dd>\r
130                         {/if}\r
131                 </dl>\r
132         {/section}\r
133         {/if}\r
134         \r
135         {if $methods[methods].descmethod}\r
136                 <hr class="separator" />\r
137                 <div class="notes">Redefined in descendants as:</div>\r
138                 <ul class="redefinitions">\r
139                 {section name=dm loop=$methods[methods].descmethod}\r
140                         <li>\r
141                                 {$methods[methods].descmethod[dm].link}\r
142                                 {if $methods[methods].descmethod[dm].sdesc}\r
143                                 : {$methods[methods].descmethod[dm].sdesc}\r
144                                 {/if}\r
145                         </li>\r
146                 {/section}\r
147                 </ul>\r
148         {/if}\r
149 </div>\r
150 {/if}\r
151 {/section}\r