OEModule\OphCiExamination\models\Element_OphCiExamination_Comorbidities::getComorbidityItemValues PHP Method

getComorbidityItemValues() public method

    public function getComorbidityItemValues()
    {
        $item_values = array();
        if ($this->id) {
            foreach (OphCiExamination_Comorbidities_Assignment::model()->findAll('element_id=?', array($this->id)) as $ca) {
                $item_values[] = $ca->item_id;
            }
        }
        return $item_values;
    }