public findWorkflowCascading ( $firm_id, $status_id ) : mixed | null | ||
$firm_id | ||
$status_id | ||
return | mixed | null |
/** * @throws \CException */ protected function setCurrentSet() { if (!$this->set) { $firm_id = $this->firm->id; $status_id = $this->episode ? $this->episode->episode_status_id : 1; $workflow = new models\OphCiExamination_Workflow_Rule(); $this->set = $workflow->findWorkflowCascading($firm_id, $status_id)->getFirstStep(); $this->mandatoryElements = $this->set->MandatoryElementTypes; } }