Element_OphCoTherapyapplication_PatientSuitability::contraindicationsRequired PHP 메소드

contraindicationsRequired() 공개 메소드

if either the left or right treatment requires the contraindications to be provided, returns true. otherwise returns false.
public contraindicationsRequired ( ) : boolean
리턴 boolean $required
    public function contraindicationsRequired()
    {
        return $this->left_treatment && $this->left_treatment->contraindications_required || $this->right_treatment && $this->right_treatment->contraindications_required;
    }