PHPマニュアル/PEARマニュアル | ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot

The ReflectionClassConstant class | JavaScript入門&応用&リファレンスなら「JavaScriptist」

  

The ReflectionClassConstant class

(PHP 7 >= 7.1.0)

はじめに

The ReflectionClassConstant class reports information about a class constant.

クラス概要

ReflectionClassConstant implements Reflector {
/* プロパティ */
public $name ;
public $class ;
/* メソッド */
public __construct ( mixed $class , string $name )
public static string export ( mixed $class , string $name [, bool $return ] )
public ReflectionClass getDeclaringClass ( void )
public string getDocComment ( void )
public int getModifiers ( void )
public mixed getValue ( void )
public bool isPrivate ( void )
public bool isProtected ( void )
public bool isPublic ( void )
public string __toString ( void )
}

プロパティ

name

Name of the class constant. Read-only, throws ReflectionException in attempt to write.

class

Name of the class where the class constant is defined. Read-only, throws ReflectionException in attempt to write.

目次


忘却曲線を使ってこの知識を確実に記憶に残す

フォーラムで「The ReflectionClassConstant class」について話す
各種マニュアル: PHPマニュアル | PEARマニュアル | Smarty(英語)マニュアル | PHP-GTKマニュアル | The ReflectionClassConstant class」をGoogle検索
copyright © 1997-2024 PHP ドキュメント作成グループ(ライセンス). provided by php spot. マニュアル: