1
0
mirror of https://github.com/php/doc-uk.git synced 2026-03-23 22:52:14 +01:00
Files
archived-doc-uk/language/oop5.xml

73 lines
2.5 KiB
XML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: f9dabdea3f92ea77cf5077020a3e945951fdc9db Maintainer: mproshchuk Status: ready -->
<chapter xml:id="language.oop5" xmlns="http://docbook.org/ns/docbook">
<title>Класи та об'єкти</title>
<sect1 xml:id="oop5.intro">
<title>Вступ</title>
<para>
PHP має повну об'єктну модель. В переліку можливостей PHP є:
<link linkend="language.oop5.visibility">область видимості</link>,
<link linkend="language.oop5.abstract">абстрактні</link> та
<link linkend="language.oop5.final">фінальні</link> класи і методи,
а також <link linkend="language.oop5.magic">магічні методи</link>,
<link linkend="language.oop5.interfaces">інтерфейси</link> та
<link linkend="language.oop5.cloning">клонування</link>.
</para>
<para>
PHP обробляє об'єкти в той же спосіб, що і посилання чи обробники ресурсів,
тобто кожна змінна містить посилання на об'єкт, а не його копію. Докладніше:
<link linkend="language.oop5.references">Об'єкти та посилання</link>.
</para>
&tip.userlandnaming;
</sect1>
&language.oop5.basic;
&language.oop5.properties;
&language.oop5.property-hooks;
&language.oop5.constants;
&language.oop5.autoload;
&language.oop5.decon;
&language.oop5.visibility;
&language.oop5.inheritance;
&language.oop5.paamayim-nekudotayim;
&language.oop5.static;
&language.oop5.abstract;
&language.oop5.interfaces;
&language.oop5.traits;
&language.oop5.anonymous;
&language.oop5.overloading;
&language.oop5.iterations;
&language.oop5.magic;
&language.oop5.final;
&language.oop5.cloning;
&language.oop5.object-comparison;
&language.oop5.late-static-bindings;
&language.oop5.references;
&language.oop5.serialization;
&language.oop5.variance;
&language.oop5.lazy-objects;
&language.oop5.changelog;
</chapter>
<!-- 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
-->