public static model ( $className = __CLASS__ ) : |
||
return | the static model class |
public static function model($className = __CLASS__)
{
return parent::model($className);
}
/** * 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; }