Element_OphCoTherapyapplication_PatientSuitability::getInfotext PHP Method

getInfotext() public method

Set the event info text to the current status.
public getInfotext ( ) : string
return string
    public function getInfotext()
    {
        if ($this->event) {
            $service = new OphCoTherapyapplication_Processor($this->event);
            return $service->getApplicationStatus();
        } else {
            return OphCoTherapyapplication_Processor::STATUS_PENDING;
        }
    }