mirror of
https://github.com/php/doc-ja.git
synced 2026-03-25 07:32:13 +01:00
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@330348 c90b9560-bf6c-de11-be94-00142212c4b1
53 lines
1.7 KiB
XML
53 lines
1.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<!-- EN-Revision: 1634a886415d0ab4df195fe49d18a1c150b70758 Maintainer: takagi Status: ready -->
|
|
<!-- CREDITS: hirokawa -->
|
|
<!-- State: experimental -->
|
|
|
|
<book xml:id="book.objaggregation" xmlns="http://docbook.org/ns/docbook">
|
|
<?phpdoc extension-membership="bundled" ?>
|
|
<title>オブジェクトの集約/合成 [PHP 4]</title>
|
|
<titleabbrev>Object Aggregation</titleabbrev>
|
|
|
|
<preface xml:id="intro.objaggregation">
|
|
&reftitle.intro;
|
|
&warn.experimental;
|
|
<para>
|
|
オブジェクト指向プログラミングでは、簡単なクラス (または
|
|
インスタンス) を組み合わせてより複雑なクラスを作成するということが
|
|
一般に行われます。これは、複雑なオブジェクトやオブジェクト階層を
|
|
構築するための柔軟な方法であり、多重継承と同等のことを動的に行う
|
|
機能を有します。
|
|
クラス(またはオブジェクト)を合成するには、合成される要素の間の
|
|
関係により<emphasis>関連(Association)</emphasis>と
|
|
<emphasis>集約(Aggregation)</emphasis>の 2 種類の方法があります。
|
|
</para>
|
|
</preface>
|
|
|
|
&reference.objaggregation.examples;
|
|
&reference.objaggregation.reference;
|
|
|
|
</book>
|
|
|
|
<!-- 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
|
|
-->
|
|
|