public getAttributes ( BaseEventTypeElement $element, integer $subspecialty_id = null ) : OphCiExamination_Attribute[] | ||
$element | BaseEventTypeElement | |
$subspecialty_id | integer | |
return | OphCiExamination_Attribute[] |
public function getAttributes($element, $subspecialty_id = null)
{
$attributes = models\OphCiExamination_Attribute::model()->findAllByElementAndSubspecialty($element->ElementType->id, $subspecialty_id);
return $attributes;
}