ReflectionClass::getStaticPropertyValue
Gets static property value
&reftitle.description;
public mixedReflectionClass::getStaticPropertyValue
stringname
mixeddef_value
Gets the value of a static property on this class.
&reftitle.parameters;
name
The name of the static property for which to return a value.
def_value
A default value to return in case the class does not declare a static
property with the given name. If the property does
not exist and this argument is omitted, a
ReflectionException is thrown.
&reftitle.returnvalues;
The value of the static property.
&reftitle.examples;
Basic usage of ReflectionClass::getStaticPropertyValue
getStaticPropertyValue('color'));
?>
]]>
&example.outputs;
&reftitle.seealso;
ReflectionClass::getStaticProperties
ReflectionClass::setStaticPropertyValue