PHP 클래스 ElementType

파일 보기 프로젝트 열기: openeyes/openeyes 1 사용 예제들

공개 메소드들

메소드 설명
attributeLabels ( ) : array
getDescendents ( ) : ElementType[] Recursively get all children of an element type.
getInstance ( ) : BaseEventTypeElement Generator method to return a new instance of the element type class.
isChild ( ) : boolean If the element type is a child, returns true.
model ( $className = __CLASS__ ) : ElementType Returns the static model of the specified AR class.
relations ( ) : array
rules ( ) : array
search ( ) : CActiveDataProvider Retrieves a list of models based on the current search/filter conditions.
tableName ( ) : string

메소드 상세

attributeLabels() 공개 메소드

public attributeLabels ( ) : array
리턴 array customized attribute labels (name=>label)

getDescendents() 공개 메소드

Recursively get all children of an element type.
public getDescendents ( ) : ElementType[]
리턴 ElementType[]

getInstance() 공개 메소드

Generator method to return a new instance of the element type class.
public getInstance ( ) : BaseEventTypeElement
리턴 BaseEventTypeElement

isChild() 공개 메소드

If the element type is a child, returns true.
public isChild ( ) : boolean
리턴 boolean

model() 공개 정적인 메소드

Returns the static model of the specified AR class.
public static model ( $className = __CLASS__ ) : ElementType
리턴 ElementType the static model class

relations() 공개 메소드

public relations ( ) : array
리턴 array relational rules.

rules() 공개 메소드

public rules ( ) : array
리턴 array validation rules for model attributes.

tableName() 공개 메소드

public tableName ( ) : string
리턴 string the associated database table name