Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

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