PHP Class WorklistDefinition

The followings are the available columns in table:
Inheritance: extends BaseActiveRecordVersioned
Exibir arquivo Open project: openeyes/openeyes

Public Methods

Method Description
afterFind ( )
attributeLabels ( ) : array
defaultScope ( ) : array Default to ordering by the display order property.
getNextDisplayOrder ( ) : integer Gets the next display order for a new mapping.
getRruleHumanReadable ( ) : string Simple wrapper function to convert the RRule into its human readable form.
relations ( ) : array
rules ( ) : array
search ( ) : CActiveDataProvider Retrieves a list of models based on the current search/filter conditions.
tableName ( ) : string
validateMappingKey ( $key, integer $id = null ) : boolean Check whether the given key would be unique on the Definition (optional id indicates the current mapping the key is from so it is not checked against itself).
validateRrule ( $attribute ) Simple wrapper around RRule construction to validate the string definition.

Method Details

afterFind() public method

public afterFind ( )

attributeLabels() public method

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

defaultScope() public method

Default to ordering by the display order property.
public defaultScope ( ) : array
return array

getNextDisplayOrder() public method

Gets the next display order for a new mapping.
public getNextDisplayOrder ( ) : integer
return integer

getRruleHumanReadable() public method

Simple wrapper function to convert the RRule into its human readable form.
public getRruleHumanReadable ( ) : string
return string

relations() public method

public relations ( ) : array
return array relational rules.

rules() public method

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

tableName() public method

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

validateMappingKey() public method

Check whether the given key would be unique on the Definition (optional id indicates the current mapping the key is from so it is not checked against itself).
public validateMappingKey ( $key, integer $id = null ) : boolean
$key
$id integer
return boolean

validateRrule() public method

Simple wrapper around RRule construction to validate the string definition.
public validateRrule ( $attribute )
$attribute