메소드 | 설명 | |
---|---|---|
__construct ( Event $event ) | ||
generatePreviewPdf ( CController $controller ) : OETCPDF | Generate PDFs in a wrapper for preview purposes. | |
getApplicationStatus ( ) : string | Returns status of applicant: pending, sent, re-opened. | |
getEyeNameById ( $eye_id ) : string | ||
getLeftSentEmails ( ) : OphCoTherapyapplication_Email[] | ||
getPDFContentForSide ( $controller, $template_data, $side ) | ||
getProcessWarnings ( ) : array | Get any relevant warnings. | |
getRightSentEmails ( ) : OphCoTherapyapplication_Email[] | ||
getSiteName ( ) | ||
hasEmailRecipients ( ) | ||
isEventNonCompliant ( ) : boolean | return boolean to indicate whether the given event is non compliant or not. | |
processEvent ( CController $controller, User $notify_user = null ) : boolean | processes the application for the event with id $event_id returns a boolean to indicate whether this was successful or not. |
메소드 | 설명 | |
---|---|---|
createAndSavePdfForSide ( CController $controller, array $template_data, string $side ) : ProtectedFile | null | create the PDF file as a ProtectedFile for the given side. | |
generateEmailForSide ( CController $controller, array $template_data, string $side ) : string | generate the email text for the given side. | |
getElement ( string $class_name ) : BaseEventTypeElement | null | Get an element object by class name. |
메소드 | 설명 | |
---|---|---|
getEmailRecipients ( $service_info, $recipient_type ) | ||
getServiceInfo ( ) | ||
getSideSpecificTemplateData ( string $side ) : array | ||
getTemplateData ( ) : array | ||
getViewPath ( ) : string | ||
processEventForEye ( CController $controller, array $template_data, integer $eye_id, User $notify_user = null ) : boolean |
public __construct ( Event $event ) | ||
$event | Event | Must be an OphCoTherapyapplication event |
public generatePreviewPdf ( CController $controller ) : OETCPDF | ||
$controller | CController | |
리턴 | OETCPDF |
public getApplicationStatus ( ) : string | ||
리턴 | string |
protected getElement ( string $class_name ) : BaseEventTypeElement | null | ||
$class_name | string | |
리턴 | BaseEventTypeElement | null |
public getLeftSentEmails ( ) : OphCoTherapyapplication_Email[] | ||
리턴 | OphCoTherapyapplication_Email[] |
public getProcessWarnings ( ) : array | ||
리턴 | array |
public getRightSentEmails ( ) : OphCoTherapyapplication_Email[] | ||
리턴 | OphCoTherapyapplication_Email[] |
public isEventNonCompliant ( ) : boolean | ||
리턴 | boolean |
public processEvent ( CController $controller, User $notify_user = null ) : boolean | ||
$controller | CController | |
$notify_user | User | |
리턴 | boolean |