PHP Class classDoc

Inheritance: extends ProgramElementDoc
Afficher le fichier Open project: peej/phpdoctor

Méthodes publiques

Свойство Type Description
$_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.

Méthodes publiques

Méthode Description
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

Method Details

addConstant() public méthode

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

addField() public méthode

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

addMethod() public méthode

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

classDoc() public méthode

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

constants() public méthode

Return constants in this class.
public constants ( ) : FieldDoc[]
Résultat FieldDoc[]

constructor() public méthode

Return constructor for this class.
public constructor ( ) : MethodDoc
Résultat MethodDoc

destructor() public méthode

Return destructor for this class.
public destructor ( ) : MethodDoc
Résultat MethodDoc

fieldNamed() public méthode

Return a field in this class.
public fieldNamed ( $fieldName ) : FieldDoc
Résultat FieldDoc

fields() public méthode

Return fields in this class.
public fields ( ) : FieldDoc[]
Résultat FieldDoc[]

interfaceNamed() public méthode

Return an interface in this class.
public interfaceNamed ( $interfaceName ) : ClassDoc
Résultat ClassDoc

interfaces() public méthode

Return interfaces implemented by this class or interfaces extended by this interface.
public interfaces ( ) : ClassDoc[]
Résultat ClassDoc[]

isAbstract() public méthode

Return true if this class is abstract.
public isAbstract ( ) : boolean
Résultat boolean

isClass() public méthode

Is this construct a class. Note: interfaces are not classes.
public isClass ( ) : boolean
Résultat boolean

isException() public méthode

Is this construct an exception.
public isException ( ) : boolean
Résultat boolean

isInterface() public méthode

Return true if this element is an interface.
public isInterface ( ) : boolean
Résultat boolean

isOrdinaryClass() public méthode

Is this construct an ordinary class (not an interface or an exception).
public isOrdinaryClass ( ) : boolean
Résultat boolean

isTrait() public méthode

Return true if this element is a trait.
public isTrait ( ) : boolean
Résultat boolean

mergeSuperClassData() public méthode

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

methodNamed() public méthode

Return a method in this class.
public methodNamed ( $methodName ) : MethodDoc
Résultat MethodDoc

methods() public méthode

Return the methods in this class.
public methods ( $regularOnly = FALSE ) : MethodDoc[]
Résultat MethodDoc[]

subclassOf() public méthode

Test whether this class is a subclass of the specified class.
public subclassOf ( $cd ) : boolean
Résultat boolean

subclasses() public méthode

Return the known subclasses of this class
public subclasses ( ) : classDoc[]
Résultat classDoc[]

superclass() public méthode

Return the superclass of this class.
public superclass ( ) : ClassDoc
Résultat ClassDoc

traitNamed() public méthode

Return an interface in this class.
public traitNamed ( $traitName ) : ClassDoc
Résultat ClassDoc

traits() public méthode

Return traits used by this class
public traits ( ) : ClassDoc[]
Résultat ClassDoc[]

Property Details

$_abstract public_oe property

Is this class abstract.
public bool $_abstract
Résultat boolean

$_constants public_oe property

The class constants.
public fieldDoc[] $_constants
Résultat fieldDoc[]

$_fields public_oe property

The class fields.
public fieldDoc[] $_fields
Résultat fieldDoc[]

$_interface public_oe property

Is this an interface?
public bool $_interface
Résultat boolean

$_interfaces public_oe property

Interfaces this class implements or this interface extends.
public classDoc[] $_interfaces
Résultat classDoc[]

$_methods public_oe property

The class methods.
public methodDoc[] $_methods
Résultat methodDoc[]

$_superclass public_oe property

The super class.
public str $_superclass
Résultat str

$_trait public_oe property

Is this a trait?
public bool $_trait
Résultat boolean

$_traits public_oe property

Traits this class uses.
public classDoc[] $_traits
Résultat classDoc[]