Свойство | 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é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 |
public classDoc ( $name, &$root, $filename, $lineNumber, $sourcePath ) |
public constants ( ) : FieldDoc[] | ||
Résultat | FieldDoc[] |
public constructor ( ) : MethodDoc | ||
Résultat | MethodDoc |
public destructor ( ) : MethodDoc | ||
Résultat | MethodDoc |
public fieldNamed ( $fieldName ) : FieldDoc | ||
Résultat | FieldDoc |
public fields ( ) : FieldDoc[] | ||
Résultat | FieldDoc[] |
public interfaceNamed ( $interfaceName ) : ClassDoc | ||
Résultat | ClassDoc |
public interfaces ( ) : ClassDoc[] | ||
Résultat | ClassDoc[] |
public isAbstract ( ) : boolean | ||
Résultat | boolean |
public isException ( ) : boolean | ||
Résultat | boolean |
public isInterface ( ) : boolean | ||
Résultat | boolean |
public isOrdinaryClass ( ) : boolean | ||
Résultat | boolean |
public mergeSuperClassData ( $superClassName = NULL ) |
public methodNamed ( $methodName ) : MethodDoc | ||
Résultat | MethodDoc |
public methods ( $regularOnly = FALSE ) : MethodDoc[] | ||
Résultat | MethodDoc[] |
public subclassOf ( $cd ) : boolean | ||
Résultat | boolean |
public subclasses ( ) : classDoc[] | ||
Résultat | classDoc[] |
public superclass ( ) : ClassDoc | ||
Résultat | ClassDoc |
public traitNamed ( $traitName ) : ClassDoc | ||
Résultat | ClassDoc |
public traits ( ) : ClassDoc[] | ||
Résultat | ClassDoc[] |
public fieldDoc[] $_constants | ||
Résultat | fieldDoc[] |
public classDoc[] $_interfaces | ||
Résultat | classDoc[] |