PHP Class type

Afficher le fichier Open project: peej/phpdoctor Class Usage Examples

Méthodes publiques

Свойство Type Description
$_dimension integer The number of dimensions this type has.
$_name str The name of the type.
$_root rootDoc Reference to the root element.

Méthodes publiques

Méthode Description
asClassDoc ( ) : ClassDoc Return this type as a class.
dimension ( ) : str Return the type's dimension information, as a string.
qualifiedTypeName ( ) : str Get qualified name of this type.
toString ( ) : str Returns a string representation of the type.
type ( $name, &$root ) Constructor
typeName ( ) : str Get name of this type.

Method Details

asClassDoc() public méthode

Return this type as a class.
public asClassDoc ( ) : ClassDoc
Résultat ClassDoc A classDoc if the type is a class, null if it is a primitive type.

dimension() public méthode

Return the type's dimension information, as a string.
public dimension ( ) : str
Résultat str

qualifiedTypeName() public méthode

Get qualified name of this type.
public qualifiedTypeName ( ) : str
Résultat str

toString() public méthode

Returns a string representation of the type.
public toString ( ) : str
Résultat str

type() public méthode

Constructor
public type ( $name, &$root )

typeName() public méthode

Get name of this type.
public typeName ( ) : str
Résultat str

Property Details

$_dimension public_oe property

The number of dimensions this type has.
public int $_dimension
Résultat integer

$_name public_oe property

The name of the type.
public str $_name
Résultat str

$_root public_oe property

Reference to the root element.
public rootDoc $_root
Résultat rootDoc