PHP Класс OEModule\OphCiExamination\models\OphCiExamination_Attribute

Наследование: extends BaseActiveRecordVersioned
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

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

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

Метод Описание
attributeLabels ( )
findAllByElementAndSubspecialty ( integer $element_type_id, integer $subspecialty_id = null, boolean $include_descendents = true ) : OphCiExamination_Attribute[] Fetches all the attributes for an element_type filtered by subspecialty Options are stashed in attribute_options property for easy iteration.
getAttributeOptions ( )
model ( $className = __CLASS__ ) : OphCiExamination_Attribute 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 ( )

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

Fetches all the attributes for an element_type filtered by subspecialty Options are stashed in attribute_options property for easy iteration.
public findAllByElementAndSubspecialty ( integer $element_type_id, integer $subspecialty_id = null, boolean $include_descendents = true ) : OphCiExamination_Attribute[]
$element_type_id integer
$subspecialty_id integer
$include_descendents boolean
Результат OphCiExamination_Attribute[]

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

public getAttributeOptions ( )

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

Returns the static model of the specified AR class.
public static model ( $className = __CLASS__ ) : OphCiExamination_Attribute
Результат OphCiExamination_Attribute 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

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

$attribute_options защищенное свойство

protected $attribute_options