PHP 클래스 fieldDoc

상속: extends ProgramElementDoc
파일 보기 프로젝트 열기: peej/phpdoctor

공개 프로퍼티들

프로퍼티 타입 설명
$_type type The type of the variable.
$_value mixed The value of the variable if it is a constant.

공개 메소드들

메소드 설명
constantValue ( ) : str Returns the value of the constant.
fieldDoc ( $name, &$parent, &$root, $filename = NULL, $lineNumber = NULL, $sourcePath = NULL ) Constructor
isField ( ) : boolean Construct is a field.
isGlobal ( ) : boolean Construct is a global.
type ( ) : Type Get type of this variable.
typeAsString ( ) : str Format a field type for outputting. Recognised types are turned into HTML anchor tags to the documentation page for the class defining them.
value ( ) : mixed Returns the value of the field.

메소드 상세

constantValue() 공개 메소드

Returns the value of the constant.
public constantValue ( ) : str
리턴 str

fieldDoc() 공개 메소드

Constructor
public fieldDoc ( $name, &$parent, &$root, $filename = NULL, $lineNumber = NULL, $sourcePath = NULL )

isField() 공개 메소드

Construct is a field.
public isField ( ) : boolean
리턴 boolean

isGlobal() 공개 메소드

Construct is a global.
public isGlobal ( ) : boolean
리턴 boolean

type() 공개 메소드

Get type of this variable.
public type ( ) : Type
리턴 Type

typeAsString() 공개 메소드

Format a field type for outputting. Recognised types are turned into HTML anchor tags to the documentation page for the class defining them.
public typeAsString ( ) : str
리턴 str The string representation of the field type

value() 공개 메소드

Returns the value of the field.
public value ( ) : mixed
리턴 mixed

프로퍼티 상세

$_type 공개적으로 프로퍼티

The type of the variable.
public type $_type
리턴 type

$_value 공개적으로 프로퍼티

The value of the variable if it is a constant.
public mixed $_value
리턴 mixed