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