public function relations() { return array('event' => array(self::BELONGS_TO, 'Event', 'event_id'), 'step' => array(self::BELONGS_TO, 'OEModule\\OphCiExamination\\models\\OphCiExamination_ElementSet', 'step_id')); }