Наследование: extends BaseActiveRecordVersioned
Пример #1
0
 /**
  * Get all the attributes for an element.
  *
  * @param BaseEventTypeElement $element
  * @param int                  $subspecialty_id
  *
  * @return OphCiExamination_Attribute[]
  */
 public function getAttributes($element, $subspecialty_id = null)
 {
     $attributes = models\OphCiExamination_Attribute::model()->findAllByElementAndSubspecialty($element->ElementType->id, $subspecialty_id);
     return $attributes;
 }