PHP Class UniqueCodes

The followings are the available columns in table 'unique_codes':
Inheritance: extends BaseActiveRecord
Afficher le fichier Open project: openeyes/openeyes Class Usage Examples

Méthodes publiques

Méthode Description
attributeLabels ( ) : array
behaviors ( )
defaultScope ( )
eventFromUniqueCode ( $code ) : CActiveRecord
examinationEventCheckFromUniqueCode ( $code )
getEpisodeIdFromCode ( $code )
getEventFromEpisode ( $episode_id, $event_type_id )
model ( $className = __CLASS__ ) : UniqueCodes 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

Method Details

attributeLabels() public méthode

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

behaviors() public méthode

public behaviors ( )

defaultScope() public méthode

public defaultScope ( )

eventFromUniqueCode() public méthode

public eventFromUniqueCode ( $code ) : CActiveRecord
$code
Résultat CActiveRecord

examinationEventCheckFromUniqueCode() public méthode

getEpisodeIdFromCode() public méthode

public getEpisodeIdFromCode ( $code )

getEventFromEpisode() public méthode

public getEventFromEpisode ( $episode_id, $event_type_id )

model() public static méthode

Returns the static model of the specified AR class.
public static model ( $className = __CLASS__ ) : UniqueCodes
Résultat UniqueCodes the static model class

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