PHP Class CommissioningBodyService

The followings are the available columns in table 'commissioning_body_service':
Inheritance: extends BaseActiveRecordVersioned
Datei anzeigen Open project: openeyes/openeyes Class Usage Examples

Public Methods

Method Description
attributeLabels ( ) : array
behaviors ( )
getAddress ( ) : Address | null Ensure we have a contact/address before returning.
getCorrespondenceName ( ) : array Returns the appropriate name (first portion of address) for the service.
getTypeShortName ( ) : string Return the type short name for this service.
model ( $className = __CLASS__ ) : CommissioningBody 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 method

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

behaviors() public method

public behaviors ( )

getAddress() public method

Ensure we have a contact/address before returning.
public getAddress ( ) : Address | null
return Address | null

getCorrespondenceName() public method

Returns the appropriate name (first portion of address) for the service.
public getCorrespondenceName ( ) : array
return array

getTypeShortName() public method

Return the type short name for this service.
public getTypeShortName ( ) : string
return string

model() public static method

Returns the static model of the specified AR class.
public static model ( $className = __CLASS__ ) : CommissioningBody
return CommissioningBody 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