PHP Класс IMP_LoginTasks_Task_RenameSentmailMonthly, horde

Автор: Michael Slusarz ([email protected])
Наследование: extends Horde_LoginTasks_Task
Показать файл Открыть проект

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

Метод Описание
__construct ( ) Constructor.
describe ( ) : string Returns information for the login task.
execute ( ) : boolean Renames the old sent-mail mailboxes.

Защищенные методы

Метод Описание
_getSentmail ( ) : array Returns the list of sent-mail mailboxes.

Описание методов

__construct() публичный Метод

Constructor.
public __construct ( )

_getSentmail() защищенный Метод

Returns the list of sent-mail mailboxes.
protected _getSentmail ( ) : array
Результат array All sent-mail mailboxes (IMP_Mailbox objects).

describe() публичный Метод

Returns information for the login task.
public describe ( ) : string
Результат string Description of what the operation is going to do during this login.

execute() публичный Метод

Mailbox name: sent-mail-month-year month = English: 3 letter abbreviation Other Languages: Month value (01-12) year = 4 digit year The mailbox name needs to be in this specific format (as opposed to a user-defined one) to ensure that 'delete_sentmail_monthly' processing can accurately find all the old sent-mail mailboxes.
public execute ( ) : boolean
Результат boolean Whether all sent-mail mailboxes were renamed.