function.autoload.html
2.92 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Attempt to load undefined class</title>
</head>
<body><div class="manualnavbar" style="text-align: center;">
<div class="prev" style="text-align: left; float: left;"><a href="ref.classobj.html">Klassen- und Objekt-Funktionen</a></div>
<div class="next" style="text-align: right; float: right;"><a href="function.call-user-method-array.html">call_user_method_array</a></div>
<div class="up"><a href="ref.classobj.html">Klassen- und Objekt-Funktionen</a></div>
<div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.autoload" class="refentry">
<div class="refnamediv">
<h1 class="refname">__autoload</h1>
<p class="verinfo">(PHP 5)</p><p class="refpurpose"><span class="refname">__autoload</span> — <span class="dc-title">Attempt to load undefined class</span></p>
</div>
<div class="refsect1 description" id="refsect1-function.autoload-description">
<h3 class="title">Beschreibung</h3>
<div class="methodsynopsis dc-description">
<span class="type"><span class="type void">void</span></span> <span class="methodname"><strong>__autoload</strong></span>
( <span class="methodparam"><span class="type">string</span> <code class="parameter">$class</code></span>
)</div>
<p class="para rdfs-comment">
You can define this function to enable <a href="language.oop5.autoload.html" class="link">classes autoloading</a>.
</p>
</div>
<div class="refsect1 parameters" id="refsect1-function.autoload-parameters">
<h3 class="title">Parameter-Liste</h3>
<dl>
<dt>
<code class="parameter">class</code></dt>
<dd>
<p class="para">
Name of the class to load
</p>
</dd>
</dl>
</div>
<div class="refsect1 returnvalues" id="refsect1-function.autoload-returnvalues">
<h3 class="title">Rückgabewerte</h3>
<p class="para">
Es wird kein Wert zurückgegeben.
</p>
</div>
<div class="refsect1 seealso" id="refsect1-function.autoload-seealso">
<h3 class="title">Siehe auch</h3>
<p class="para">
<ul class="simplelist">
<li class="member"><span class="function"><a href="function.spl-autoload-register.html" class="function" rel="rdfs-seeAlso">spl_autoload_register()</a> - Register given function as __autoload() implementation</span></li>
</ul>
</p>
</div>
</div><hr /><div class="manualnavbar" style="text-align: center;">
<div class="prev" style="text-align: left; float: left;"><a href="ref.classobj.html">Klassen- und Objekt-Funktionen</a></div>
<div class="next" style="text-align: right; float: right;"><a href="function.call-user-method-array.html">call_user_method_array</a></div>
<div class="up"><a href="ref.classobj.html">Klassen- und Objekt-Funktionen</a></div>
<div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>