PHP Class WorklistDefinitionMapping

Inheritance: extends BaseActiveRecord
ファイルを表示 Open project: openeyes/openeyes Class Usage Examples

Public Methods

Method Description
attributeLabels ( ) : array
getValueList ( ) : string Convenience getter for managing a string representation of the set of mapped values.
getWillDisplay ( ) : boolean
relations ( ) : array
rules ( ) : array
search ( ) : CActiveDataProvider Retrieves a list of models based on the current search/filter conditions.
setValueList ( $valuelist ) Convenience setter for managing a string representation of the set of mapped values.
tableName ( ) : string
updateValues ( array $values = [] ) : boolean

Protected Methods

Method Description
getInstanceForClass ( $class, $args = [] ) : mixed Abstraction for getting instance of class.

Method Details

attributeLabels() public method

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

getInstanceForClass() protected method

Abstraction for getting instance of class.
protected getInstanceForClass ( $class, $args = [] ) : mixed
$class
return mixed

getValueList() public method

Convenience getter for managing a string representation of the set of mapped values.
public getValueList ( ) : string
return string

getWillDisplay() public method

public getWillDisplay ( ) : boolean
return boolean

relations() public method

public relations ( ) : array
return array relational rules.

rules() public method

public rules ( ) : array
return array validation rules for model attributes.

setValueList() public method

Note that this does not affect the actual related models for this item, so care should be taken around keeping them in sync where necessary
public setValueList ( $valuelist )
$valuelist

tableName() public method

public tableName ( ) : string
return string the associated database table name

updateValues() public method

public updateValues ( array $values = [] ) : boolean
$values array
return boolean