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
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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 ( )