PHP Class Firm

The followings are the available columns in table 'firm':
Inheritance: extends BaseActiveRecordVersioned
Mostrar archivo Open project: openeyes/openeyes Class Usage Examples

Public Properties

Property Type Description
$subspecialty_id

Public Methods

Method Description
attributeLabels ( ) : array
beforeSave ( ) : boolean
behaviors ( ) : array
getConsultantName ( ) : string
getList ( $subspecialty_id = null, $include_id = null ) : array Fetch an array of firm IDs and names.
getListWithSpecialties ( $include_non_subspecialty = false ) : array
getListWithSpecialtiesAndEmergency ( ) : array
getNameAndSubspecialty ( ) : string
getNameAndSubspecialtyCode ( ) : string
getReportDisplay ( ) : string
getServiceText ( )
getSpecialty ( ) : Specialty | null Get the Specialty of the Firm.
getSubspecialty ( ) : Subspecialty | null get the subspecialty for the firm - null if one not set (support service firm).
getSubspecialtyID ( ) : integer | null get the id for the subspecialty for the firm - null if one not set (support service firm).
getSubspecialtyText ( ) : string retrieve a label for the sub specialty assignment for this firm.
getTreeName ( ) : string
isSupportServicesFirm ( ) : boolean Check whether this is a support services firm.
model ( $className = __CLASS__ ) : Firm 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)

beforeSave() public method

public beforeSave ( ) : boolean
return boolean

behaviors() public method

public behaviors ( ) : array
return array

getConsultantName() public method

public getConsultantName ( ) : string
return string

getList() public method

Fetch an array of firm IDs and names.
public getList ( $subspecialty_id = null, $include_id = null ) : array
return array

getListWithSpecialties() public method

public getListWithSpecialties ( $include_non_subspecialty = false ) : array
$include_non_subspecialty boolean defaults to false
return array

getListWithSpecialtiesAndEmergency() public method

getNameAndSubspecialty() public method

public getNameAndSubspecialty ( ) : string
return string

getNameAndSubspecialtyCode() public method

getReportDisplay() public method

public getReportDisplay ( ) : string
return string

getServiceText() public method

public getServiceText ( )

getSpecialty() public method

Get the Specialty of the Firm.
public getSpecialty ( ) : Specialty | null
return Specialty | null

getSubspecialty() public method

get the subspecialty for the firm - null if one not set (support service firm).
public getSubspecialty ( ) : Subspecialty | null
return Subspecialty | null

getSubspecialtyID() public method

get the id for the subspecialty for the firm - null if one not set (support service firm).
public getSubspecialtyID ( ) : integer | null
return integer | null

getSubspecialtyText() public method

retrieve a label for the sub specialty assignment for this firm.
public getSubspecialtyText ( ) : string
return string

getTreeName() public method

public getTreeName ( ) : string
return string

isSupportServicesFirm() public method

Check whether this is a support services firm.
public isSupportServicesFirm ( ) : boolean
return boolean

model() public static method

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

$subspecialty_id public_oe property

public $subspecialty_id