Класс ReflectionProperty
(PHP 5)
Введение
Класс ReflectionProperty сообщает информацию о свойствах класса.
Обзор классов
ReflectionProperty implements Reflector {
/* Константы */
const integer IS_STATIC = 1 ;
const integer IS_PUBLIC = 256 ;
const integer IS_PROTECTED = 512 ;
const integer IS_PRIVATE = 1024 ;
/* Свойства */
public $ReflectionProperty->name ;
public $class ;
/* Методы */
final private void ReflectionProperty::__clone ( void )
ReflectionProperty::__construct ( mixed $class , string $name )
public static string ReflectionProperty::export ( mixed $class , string $name [, bool $return ] )
public ReflectionClass ReflectionProperty::getDeclaringClass ( void )
public string ReflectionProperty::getDocComment ( void )
public int ReflectionProperty::getModifiers ( void )
public string ReflectionProperty::getName ( void )
public mixed ReflectionProperty::getValue ( object $object )
public bool ReflectionProperty::isDefault ( void )
public bool ReflectionProperty::isPrivate ( void )
public bool ReflectionProperty::isProtected ( void )
public bool ReflectionProperty::isPublic ( void )
public bool ReflectionProperty::isStatic ( void )
public void ReflectionProperty::setAccessible ( bool $accessible )
public void ReflectionProperty::setValue ( object $object , mixed $value )
public string ReflectionProperty::__toString ( void )
}
Свойства
nameТребуется описание
classТребуется описание
Предопределенные константы
Типы узлов ReflectionProperty
ReflectionProperty::IS_STATICЗдесь описание...
ReflectionProperty::IS_PUBLICЗдесь описание...
ReflectionProperty::IS_PROTECTEDЗдесь описание...
ReflectionProperty::IS_PRIVATEЗдесь описание...
Содержание
- ReflectionProperty::__clone — Clone
- ReflectionProperty::__construct — Construct a ReflectionProperty object
- ReflectionProperty::export — Export
- ReflectionProperty::getDeclaringClass — Gets declaring class
- ReflectionProperty::getDocComment — Gets doc comment
- ReflectionProperty::getModifiers — Gets modifiers
- ReflectionProperty::getName — Gets property name
- ReflectionProperty::getValue — Gets value
- ReflectionProperty::isDefault — Checks if default value
- ReflectionProperty::isPrivate — Checks if property is private
- ReflectionProperty::isProtected — Checks if property is protected
- ReflectionProperty::isPublic — Checks if property is public
- ReflectionProperty::isStatic — Checks if property is static
- ReflectionProperty::setAccessible — Set property accessibility
- ReflectionProperty::setValue — Set property value
- ReflectionProperty::__toString — To string
Описание класса reflectionproperty, примеры использования класса reflectionproperty.
Смотрите также:
Описание на ru2.php.net
Описание на php.ru