PHP 클래스 OphCoTherapyapplication_Email

OpenEyes is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. OpenEyes is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenEyes in a file titled COPYING. If not, see .
저자: OpenEyes ([email protected])
상속: extends BaseActiveRecordVersioned
파일 보기 프로젝트 열기: openeyes/openeyes 1 사용 예제들

공개 메소드들

메소드 설명
addAttachments ( array $attachments )
archiveForEvent ( Event $event ) Mark all emails for the specified event as archived.
defaultScope ( )
forEvent ( Event $event ) : Ophcotherapya_Email_Attachment Scope to limit to emails for a specific event.
getStatusForEvent ( Event $event ) : string Get the application status based on the emails for the given event.
model ( $className = __CLASS__ )
relations ( )
rules ( )
scopes ( )
tableName ( )

메소드 상세

addAttachments() 공개 메소드

public addAttachments ( array $attachments )
$attachments array

archiveForEvent() 공개 메소드

Mark all emails for the specified event as archived.
public archiveForEvent ( Event $event )
$event Event

defaultScope() 공개 메소드

public defaultScope ( )

forEvent() 공개 메소드

Scope to limit to emails for a specific event.
public forEvent ( Event $event ) : Ophcotherapya_Email_Attachment
$event Event
리턴 Ophcotherapya_Email_Attachment

getStatusForEvent() 공개 메소드

Get the application status based on the emails for the given event.
public getStatusForEvent ( Event $event ) : string
$event Event
리턴 string One of the OphCoTherapyapplication_Processor STATUS_ constants

model() 공개 정적인 메소드

public static model ( $className = __CLASS__ )

relations() 공개 메소드

public relations ( )

rules() 공개 메소드

public rules ( )

scopes() 공개 메소드

public scopes ( )

tableName() 공개 메소드

public tableName ( )