PHP Класс Firm

The followings are the available columns in table 'firm':
Наследование: extends BaseActiveRecordVersioned
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$subspecialty_id

Открытые методы

Метод Описание
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

Описание методов

attributeLabels() публичный Метод

public attributeLabels ( ) : array
Результат array customized attribute labels (name=>label)

beforeSave() публичный Метод

public beforeSave ( ) : boolean
Результат boolean

behaviors() публичный Метод

public behaviors ( ) : array
Результат array

getConsultantName() публичный Метод

public getConsultantName ( ) : string
Результат string

getList() публичный Метод

Fetch an array of firm IDs and names.
public getList ( $subspecialty_id = null, $include_id = null ) : array
Результат array

getListWithSpecialties() публичный Метод

public getListWithSpecialties ( $include_non_subspecialty = false ) : array
$include_non_subspecialty boolean defaults to false
Результат array

getListWithSpecialtiesAndEmergency() публичный Метод

public getListWithSpecialtiesAndEmergency ( ) : array
Результат array

getNameAndSubspecialty() публичный Метод

public getNameAndSubspecialty ( ) : string
Результат string

getNameAndSubspecialtyCode() публичный Метод

public getNameAndSubspecialtyCode ( ) : string
Результат string

getReportDisplay() публичный Метод

public getReportDisplay ( ) : string
Результат string

getServiceText() публичный Метод

public getServiceText ( )

getSpecialty() публичный Метод

Get the Specialty of the Firm.
public getSpecialty ( ) : Specialty | null
Результат Specialty | null

getSubspecialty() публичный Метод

get the subspecialty for the firm - null if one not set (support service firm).
public getSubspecialty ( ) : Subspecialty | null
Результат Subspecialty | null

getSubspecialtyID() публичный Метод

get the id for the subspecialty for the firm - null if one not set (support service firm).
public getSubspecialtyID ( ) : integer | null
Результат integer | null

getSubspecialtyText() публичный Метод

retrieve a label for the sub specialty assignment for this firm.
public getSubspecialtyText ( ) : string
Результат string

getTreeName() публичный Метод

public getTreeName ( ) : string
Результат string

isSupportServicesFirm() публичный Метод

Check whether this is a support services firm.
public isSupportServicesFirm ( ) : boolean
Результат boolean

model() публичный статический Метод

Returns the static model of the specified AR class.
public static model ( $className = __CLASS__ ) : Firm
Результат Firm the static model class

relations() публичный Метод

public relations ( ) : array
Результат array relational rules.

rules() публичный Метод

public rules ( ) : array
Результат array validation rules for model attributes.

tableName() публичный Метод

public tableName ( ) : string
Результат string the associated database table name

Описание свойств

$subspecialty_id публичное свойство

public $subspecialty_id