ReflectionClass::getStaticPropertyValue staticプロパティの値を取得する &reftitle.description; public mixedReflectionClass::getStaticPropertyValue stringname mixeddef_value このクラスのstaticプロパティの値を取得します。 &reftitle.parameters; name 値を返したいstaticプロパティの名前。 def_value 指定した名前のstaticプロパティがそのクラスに存在しない場合に返す、デフォルト値。 プロパティが存在せず、かつこの引数も省略されていた場合は、 ReflectionException が発生します。 &reftitle.returnvalues; staticプロパティの値を返します。 &reftitle.examples; <methodname>ReflectionClass::getStaticPropertyValue</methodname> の基本的な使用例 getStaticPropertyValue('color')); ?> ]]> &example.outputs; &reftitle.seealso; ReflectionClass::getStaticProperties ReflectionClass::setStaticPropertyValue