File: oop5.xml

package info (click to toggle)
php-doc 20250827~git.abe740d%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 71,968 kB
  • sloc: xml: 985,760; php: 25,504; javascript: 671; sh: 177; makefile: 37
file content (74 lines) | stat: -rw-r--r-- 2,274 bytes parent folder | download
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
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
 <chapter xml:id="language.oop5" xmlns="http://docbook.org/ns/docbook" annotations="interactive">
  <title>Classes and Objects</title>

  <sect1  xml:id="oop5.intro">
   <title>Introduction</title>
   <para>
    PHP includes a complete object model.
    Some of its features are:
    <link linkend="language.oop5.visibility">visibility</link>,
    <link linkend="language.oop5.abstract">abstract</link> and
    <link linkend="language.oop5.final">final</link> classes and methods,
    additional <link linkend="language.oop5.magic">magic methods</link>,
    <link linkend="language.oop5.interfaces">interfaces</link>, and
    <link linkend="language.oop5.cloning">cloning</link>.
   </para>
   <para>
    PHP treats objects in the same way as references or handles, meaning that
    each variable contains an object reference rather than a copy of the entire
    object. See 
    <link linkend="language.oop5.references">Objects and 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
-->