function.autoload.html 2.92 KB
<!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> &mdash; <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>