PHP 클래스 doc

상속: extends CI_Controller
파일 보기 프로젝트 열기: peej/phpdoctor 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$_data mixed[] Data about the element creamed from the token stream before the object for this element was created. This array contains extra data about the element that occurs before the element definition in the token stream (including doc comment data), it is merged with the objects fields upon object completion.
$_docComment str The unprocessed doc comment.
$_name str The name of this construct
$_root rootDoc Reference to the root element.
$_tags tag[] Array of doc tags.
$inBody integer Whether parsing is inside this elements curly braces.

공개 메소드들

메소드 설명
getFileContents ( $filename ) : str Get body of a text document
getRawCommentText ( ) : str Return the full unprocessed text of the comment.
isClass ( ) : boolean Is this construct a class. Note: interfaces are not classes. False until overridden.
isConstructor ( ) : boolean Is this construct a constructor. False until overridden.
isException ( ) : boolean Is this construct an exception. False until overridden.
isField ( ) : boolean Is this construct a field. False until overridden.
isFinal ( ) : boolean Is this construct final. False until overridden.
isFunction ( ) : boolean Is this construct a function. False until overridden.
isGlobal ( ) : boolean Is this construct a global variable. False until overridden.
isInterface ( ) : boolean Is this construct an interface. False until overridden.
isMethod ( ) : boolean Is this construct a method. False until overridden.
isOrdinaryClass ( ) : boolean Is this construct an ordinary class (not an interface or an exception).
isTrait ( ) : boolean Is this construct an trait. False until overridden.
mergeData ( ) Merge the contents of the doc comment into the element object.
name ( ) : str Return the name of this doc item.
set ( $member, $value ) : boolean Setter method.
setByRef ( $member, &$value ) : boolean Setter by reference method.
setTag ( $tagName, $tag ) Set a tag.
tags ( $tagName = NULL ) : Tag[] Return tags of the specified kind in this Doc item. For example, if 'tagName' has value "@serial", all tags in this Doc item of type "@serial" will be returned. If NULL is given for 'tagName', all tags in this Doc item are returned.

메소드 상세

getFileContents() 공개 메소드

Get body of a text document
public getFileContents ( $filename ) : str
리턴 str

getRawCommentText() 공개 메소드

Return the full unprocessed text of the comment.
public getRawCommentText ( ) : str
리턴 str

isClass() 공개 메소드

Is this construct a class. Note: interfaces are not classes. False until overridden.
public isClass ( ) : boolean
리턴 boolean

isConstructor() 공개 메소드

Is this construct a constructor. False until overridden.
public isConstructor ( ) : boolean
리턴 boolean

isException() 공개 메소드

Is this construct an exception. False until overridden.
public isException ( ) : boolean
리턴 boolean

isField() 공개 메소드

Is this construct a field. False until overridden.
public isField ( ) : boolean
리턴 boolean

isFinal() 공개 메소드

Is this construct final. False until overridden.
public isFinal ( ) : boolean
리턴 boolean

isFunction() 공개 메소드

Is this construct a function. False until overridden.
public isFunction ( ) : boolean
리턴 boolean

isGlobal() 공개 메소드

Is this construct a global variable. False until overridden.
public isGlobal ( ) : boolean
리턴 boolean

isInterface() 공개 메소드

Is this construct an interface. False until overridden.
public isInterface ( ) : boolean
리턴 boolean

isMethod() 공개 메소드

Is this construct a method. False until overridden.
public isMethod ( ) : boolean
리턴 boolean

isOrdinaryClass() 공개 메소드

False until overridden.
public isOrdinaryClass ( ) : boolean
리턴 boolean

isTrait() 공개 메소드

Is this construct an trait. False until overridden.
public isTrait ( ) : boolean
리턴 boolean

mergeData() 공개 메소드

Merge the contents of the doc comment into the element object.
public mergeData ( )

name() 공개 메소드

Return the name of this doc item.
public name ( ) : str
리턴 str

set() 공개 메소드

Setter method.
public set ( $member, $value ) : boolean
리턴 boolean

setByRef() 공개 메소드

Setter by reference method.
public setByRef ( $member, &$value ) : boolean
리턴 boolean

setTag() 공개 메소드

Set a tag.
public setTag ( $tagName, $tag )

tags() 공개 메소드

Return tags of the specified kind in this Doc item. For example, if 'tagName' has value "@serial", all tags in this Doc item of type "@serial" will be returned. If NULL is given for 'tagName', all tags in this Doc item are returned.
public tags ( $tagName = NULL ) : Tag[]
리턴 Tag[] An array of Tag containing all tags of name 'tagname' or a singular tag object if only one exists for the given 'tagname'

프로퍼티 상세

$_data 공개적으로 프로퍼티

Data about the element creamed from the token stream before the object for this element was created. This array contains extra data about the element that occurs before the element definition in the token stream (including doc comment data), it is merged with the objects fields upon object completion.
public mixed[] $_data
리턴 mixed[]

$_docComment 공개적으로 프로퍼티

The unprocessed doc comment.
public str $_docComment
리턴 str

$_name 공개적으로 프로퍼티

The name of this construct
public str $_name
리턴 str

$_root 공개적으로 프로퍼티

Reference to the root element.
public rootDoc $_root
리턴 rootDoc

$_tags 공개적으로 프로퍼티

Array of doc tags.
public tag[] $_tags
리턴 tag[]

$inBody 공개적으로 프로퍼티

Whether parsing is inside this elements curly braces.
public int $inBody
리턴 integer