<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/refs.basic.vartype.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'ja',
  ),
  'this' => 
  array (
    0 => 'book.classobj.php',
    1 => 'クラス/オブジェクト',
    2 => 'クラス/オブジェクトの情報',
  ),
  'up' => 
  array (
    0 => 'refs.basic.vartype.php',
    1 => '変数・データ型関連',
  ),
  'prev' => 
  array (
    0 => 'function.usort.php',
    1 => 'usort',
  ),
  'next' => 
  array (
    0 => 'classobj.examples.php',
    1 => '例',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'ja',
    'path' => 'reference/classobj/book.xml',
  ),
  'history' => 
  array (
  ),
  'extra_header_links' => 
  array (
    'rel' => 'alternate',
    'href' => '/manual/en/feeds/book.classobj.atom',
    'type' => 'application/atom+xml',
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="book.classobj" class="book">
 
 <h1 class="title">クラス/オブジェクトの情報</h1>
 

 <div id="intro.classobj" class="preface">
  <h1 class="title">はじめに</h1>
  <p class="para">
   以下の関数により、クラスやインスタンスオブジェクトに関する情報を得ることが可能となります。
   オブジェクトが属するクラスの名前、そのメンバープロパティ、メソッドを取得可能です。
   この関数を使用することにより、オブジェクトのクラスメンバーだけでなく親クラス
   (すなわちそのオブジェクトクラスの派生元) の情報を得ることも可能です。
  </p>
  <p class="para">
   このマニュアルの <a href="language.types.object.php" class="link">オブジェクト</a>
   のページに、クラスやオブジェクトがどのように実装されていて
   PHP でどのように使うのかについての詳しい説明があります。
  </p>
 </div>

 










 









<ul class="chunklist chunklist_book"><li><a href="classobj.examples.php">例</a></li><li><a href="ref.classobj.php">クラス/オブジェクト関数</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="function.autoload.php">__autoload</a> — 未定義のクラスのロードを試みる</li><li><a href="function.class-alias.php">class_alias</a> — クラスのエイリアスを作成する</li><li><a href="function.class-exists.php">class_exists</a> — クラスが定義済みかどうかを確認する</li><li><a href="function.enum-exists.php">enum_exists</a> — 列挙型が定義されているかを調べる</li><li><a href="function.get-called-class.php">get_called_class</a> — &quot;遅延静的束縛&quot; のクラス名</li><li><a href="function.get-class.php">get_class</a> — オブジェクトのクラス名を返す</li><li><a href="function.get-class-methods.php">get_class_methods</a> — クラスメソッドの名前を取得する</li><li><a href="function.get-class-vars.php">get_class_vars</a> — クラスのデフォルトプロパティを取得する</li><li><a href="function.get-declared-classes.php">get_declared_classes</a> — 定義済のクラスの名前を配列として返す</li><li><a href="function.get-declared-interfaces.php">get_declared_interfaces</a> — 宣言されている全てのインターフェイスの配列を返す</li><li><a href="function.get-declared-traits.php">get_declared_traits</a> — 宣言されているすべてのトレイトの配列を返す</li><li><a href="function.get-mangled-object-vars.php">get_mangled_object_vars</a> — マングリングされたオブジェクトのプロパティを配列で返す</li><li><a href="function.get-object-vars.php">get_object_vars</a> — 指定したオブジェクトのプロパティを取得する</li><li><a href="function.get-parent-class.php">get_parent_class</a> — オブジェクトの親クラスの名前を取得する</li><li><a href="function.interface-exists.php">interface_exists</a> — インターフェイスが宣言されているかどうかを確認する</li><li><a href="function.is-a.php">is_a</a> — オブジェクトが指定された型のものか、部分型であるかを調べる</li><li><a href="function.is-subclass-of.php">is_subclass_of</a> — あるオブジェクトが指定したクラスのサブクラスに属するか (あるいは指定したインターフェイスを実装しているか) どうかを調べる</li><li><a href="function.method-exists.php">method_exists</a> — クラスメソッドが存在するかどうかを確認する</li><li><a href="function.property-exists.php">property_exists</a> — オブジェクトもしくはクラスにプロパティが存在するかどうかを調べる</li><li><a href="function.trait-exists.php">trait_exists</a> — トレイトが存在するかどうかを調べる</li></ul></li></ul></div><?php manual_footer($setup); ?>