PHP Class Element_OphTrConsent_Other

The followings are the available columns in table:
Inheritance: extends BaseEventTypeElement
Mostra file Open project: openeyes/openeyes

Public Properties

Property Type Description
$service

Public Methods

Method Description
_setDefaultOptions ( )
attributeLabels ( ) : array
beforeSave ( )
isAdult ( )
model ( $className = __CLASS__ ) : the 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

Protected Methods

Method Description
afterValidate ( )

Method Details

_setDefaultOptions() public method

public _setDefaultOptions ( )

afterValidate() protected method

protected afterValidate ( )

attributeLabels() public method

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

beforeSave() public method

public beforeSave ( )

isAdult() public method

public isAdult ( )

model() public static method

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

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

Property Details

$service public_oe property

public $service