PHP Класс classDoc

Наследование: extends ProgramElementDoc
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$_abstract boolean Is this class abstract.
$_constants fieldDoc[] The class constants.
$_fields fieldDoc[] The class fields.
$_interface boolean Is this an interface?
$_interfaces classDoc[] Interfaces this class implements or this interface extends.
$_methods methodDoc[] The class methods.
$_superclass str The super class.
$_trait boolean Is this a trait?
$_traits classDoc[] Traits this class uses.

Открытые методы

Метод Описание
addConstant ( &$constant ) Add a constant to this class.
addField ( &$field ) Add a field to this class.
addMethod ( &$method ) Add a method to this class.
classDoc ( $name, &$root, $filename, $lineNumber, $sourcePath ) Constructor
constants ( ) : FieldDoc[] Return constants in this class.
constructor ( ) : MethodDoc Return constructor for this class.
destructor ( ) : MethodDoc Return destructor for this class.
fieldNamed ( $fieldName ) : FieldDoc Return a field in this class.
fields ( ) : FieldDoc[] Return fields in this class.
interfaceNamed ( $interfaceName ) : ClassDoc Return an interface in this class.
interfaces ( ) : ClassDoc[] Return interfaces implemented by this class or interfaces extended by this interface.
isAbstract ( ) : boolean Return true if this class is abstract.
isClass ( ) : boolean Is this construct a class. Note: interfaces are not classes.
isException ( ) : boolean Is this construct an exception.
isInterface ( ) : boolean Return true if this element is an interface.
isOrdinaryClass ( ) : boolean Is this construct an ordinary class (not an interface or an exception).
isTrait ( ) : boolean Return true if this element is a trait.
mergeSuperClassData ( $superClassName = NULL ) Merge the details of the superclass with this class.
methodNamed ( $methodName ) : MethodDoc Return a method in this class.
methods ( $regularOnly = FALSE ) : MethodDoc[] Return the methods in this class.
subclassOf ( $cd ) : boolean Test whether this class is a subclass of the specified class.
subclasses ( ) : classDoc[] Return the known subclasses of this class
superclass ( ) : ClassDoc Return the superclass of this class.
traitNamed ( $traitName ) : ClassDoc Return an interface in this class.
traits ( ) : ClassDoc[] Return traits used by this class

Описание методов

addConstant() публичный Метод

Add a constant to this class.
public addConstant ( &$constant )

addField() публичный Метод

Add a field to this class.
public addField ( &$field )

addMethod() публичный Метод

Add a method to this class.
public addMethod ( &$method )

classDoc() публичный Метод

Constructor
public classDoc ( $name, &$root, $filename, $lineNumber, $sourcePath )

constants() публичный Метод

Return constants in this class.
public constants ( ) : FieldDoc[]
Результат FieldDoc[]

constructor() публичный Метод

Return constructor for this class.
public constructor ( ) : MethodDoc
Результат MethodDoc

destructor() публичный Метод

Return destructor for this class.
public destructor ( ) : MethodDoc
Результат MethodDoc

fieldNamed() публичный Метод

Return a field in this class.
public fieldNamed ( $fieldName ) : FieldDoc
Результат FieldDoc

fields() публичный Метод

Return fields in this class.
public fields ( ) : FieldDoc[]
Результат FieldDoc[]

interfaceNamed() публичный Метод

Return an interface in this class.
public interfaceNamed ( $interfaceName ) : ClassDoc
Результат ClassDoc

interfaces() публичный Метод

Return interfaces implemented by this class or interfaces extended by this interface.
public interfaces ( ) : ClassDoc[]
Результат ClassDoc[]

isAbstract() публичный Метод

Return true if this class is abstract.
public isAbstract ( ) : boolean
Результат boolean

isClass() публичный Метод

Is this construct a class. Note: interfaces are not classes.
public isClass ( ) : boolean
Результат boolean

isException() публичный Метод

Is this construct an exception.
public isException ( ) : boolean
Результат boolean

isInterface() публичный Метод

Return true if this element is an interface.
public isInterface ( ) : boolean
Результат boolean

isOrdinaryClass() публичный Метод

Is this construct an ordinary class (not an interface or an exception).
public isOrdinaryClass ( ) : boolean
Результат boolean

isTrait() публичный Метод

Return true if this element is a trait.
public isTrait ( ) : boolean
Результат boolean

mergeSuperClassData() публичный Метод

Merge the details of the superclass with this class.
public mergeSuperClassData ( $superClassName = NULL )

methodNamed() публичный Метод

Return a method in this class.
public methodNamed ( $methodName ) : MethodDoc
Результат MethodDoc

methods() публичный Метод

Return the methods in this class.
public methods ( $regularOnly = FALSE ) : MethodDoc[]
Результат MethodDoc[]

subclassOf() публичный Метод

Test whether this class is a subclass of the specified class.
public subclassOf ( $cd ) : boolean
Результат boolean

subclasses() публичный Метод

Return the known subclasses of this class
public subclasses ( ) : classDoc[]
Результат classDoc[]

superclass() публичный Метод

Return the superclass of this class.
public superclass ( ) : ClassDoc
Результат ClassDoc

traitNamed() публичный Метод

Return an interface in this class.
public traitNamed ( $traitName ) : ClassDoc
Результат ClassDoc

traits() публичный Метод

Return traits used by this class
public traits ( ) : ClassDoc[]
Результат ClassDoc[]

Описание свойств

$_abstract публичное свойство

Is this class abstract.
public bool $_abstract
Результат boolean

$_constants публичное свойство

The class constants.
public fieldDoc[] $_constants
Результат fieldDoc[]

$_fields публичное свойство

The class fields.
public fieldDoc[] $_fields
Результат fieldDoc[]

$_interface публичное свойство

Is this an interface?
public bool $_interface
Результат boolean

$_interfaces публичное свойство

Interfaces this class implements or this interface extends.
public classDoc[] $_interfaces
Результат classDoc[]

$_methods публичное свойство

The class methods.
public methodDoc[] $_methods
Результат methodDoc[]

$_superclass публичное свойство

The super class.
public str $_superclass
Результат str

$_trait публичное свойство

Is this a trait?
public bool $_trait
Результат boolean

$_traits публичное свойство

Traits this class uses.
public classDoc[] $_traits
Результат classDoc[]