OEModule\OphCiExamination\controllers\DefaultController::getAttributes PHP Метод

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

Get all the attributes for an element.
public getAttributes ( BaseEventTypeElement $element, integer $subspecialty_id = null ) : OphCiExamination_Attribute[]
$element BaseEventTypeElement
$subspecialty_id integer
Результат OphCiExamination_Attribute[]
    public function getAttributes($element, $subspecialty_id = null)
    {
        $attributes = models\OphCiExamination_Attribute::model()->findAllByElementAndSubspecialty($element->ElementType->id, $subspecialty_id);
        return $attributes;
    }
DefaultController