PHP Class WorklistDefinition

The followings are the available columns in table:
Inheritance: extends BaseActiveRecordVersioned
Afficher le fichier Open project: openeyes/openeyes

Méthodes publiques

Méthode 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 méthode

public afterFind ( )

attributeLabels() public méthode

public attributeLabels ( ) : array
Résultat array customized attribute labels (name=>label)

defaultScope() public méthode

Default to ordering by the display order property.
public defaultScope ( ) : array
Résultat array

getNextDisplayOrder() public méthode

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

getRruleHumanReadable() public méthode

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

relations() public méthode

public relations ( ) : array
Résultat array relational rules.

rules() public méthode

public rules ( ) : array
Résultat array validation rules for model attributes.

tableName() public méthode

public tableName ( ) : string
Résultat string the associated database table name

validateMappingKey() public méthode

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
Résultat boolean

validateRrule() public méthode

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