PHP Class Eye

The followings are the available columns in table 'eye':
Inheritance: extends BaseActiveRecord
Show file Open project: openeyes/openeyes Class Usage Examples

Public Methods

Method Description
defaultScope ( )
getAdjective ( )
getShortName ( )
model ( $className = __CLASS__ ) : Eye Returns the static model of the specified AR class.
rules ( ) : array
tableName ( ) : string

Method Details

defaultScope() public method

public defaultScope ( )

getAdjective() public method

public getAdjective ( )

getShortName() public method

public getShortName ( )

model() public static method

Returns the static model of the specified AR class.
public static model ( $className = __CLASS__ ) : Eye
return Eye the static model class

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