mirror of
https://github.com/php/doc-ru.git
synced 2025-08-06 18:19:45 +00:00

git-svn-id: https://svn.php.net/repository/phpdoc/ru/trunk@340424 c90b9560-bf6c-de11-be94-00142212c4b1
76 lines
1.9 KiB
XML
76 lines
1.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- EN-Revision: d6105d5f559885cd3ecc6d03586bc90151d29ab6 Maintainer: rjhdby Status: ready -->
|
|
<!-- Reviewed: no -->
|
|
<!-- $Revision$ -->
|
|
<refentry xml:id="function.autoload" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
<refnamediv>
|
|
<refname>__autoload</refname>
|
|
<refpurpose>Попытка автоматически загрузить используемый, но не загруженный ранее, класс</refpurpose>
|
|
</refnamediv>
|
|
|
|
<refsect1 role="description">
|
|
&reftitle.description;
|
|
<methodsynopsis>
|
|
<type>void</type><methodname>__autoload</methodname>
|
|
<methodparam><type>string</type><parameter>class</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
Вы можете определить эту функцию для <link
|
|
linkend="language.oop5.autoload">автозагрузки классов</link>
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
<refsect1 role="parameters">
|
|
&reftitle.parameters;
|
|
<variablelist>
|
|
<varlistentry>
|
|
<term><parameter>class</parameter></term>
|
|
<listitem>
|
|
<para>
|
|
Имя загружаемого класса
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</refsect1>
|
|
|
|
<refsect1 role="returnvalues">
|
|
&reftitle.returnvalues;
|
|
<para>
|
|
&return.void;
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="seealso">
|
|
&reftitle.seealso;
|
|
<para>
|
|
<simplelist>
|
|
<member><function>spl_autoload_register</function></member>
|
|
</simplelist>
|
|
</para>
|
|
</refsect1>
|
|
|
|
</refentry>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|