Documentation

IMP_Indices_Copy
in package

AbstractYes

Abstract object implementing non-mail server copy actions.

Tags
author

Michael Slusarz slusarz@horde.org

category

Horde

copyright

2014-2017 Horde LLC

license

http://www.horde.org/licenses/gpl GPL

Table of Contents

Methods

copy()  : bool
Copy/move messages.
match()  : bool
Does the mailbox name match this action?
_create()  : bool
Copy/move messages.

Methods

copy()

Copy/move messages.

public copy(string $mbox, IMP_Indices $indices, bool $move) : bool
Parameters
$mbox : string

The mailbox name to copy/move the task to.

$indices : IMP_Indices

An indices object.

$move : bool

Move if true, copy if false.

Return values
bool

True on success.

match()

Does the mailbox name match this action?

public abstract match(string $mbox) : bool
Parameters
$mbox : string

The mailbox name.

Return values
bool

True if the mailbox matches this action.

_create()

Copy/move messages.

protected abstract _create(string $mbox, string $subject, string $body) : bool
Parameters
$mbox : string

The mailbox name to copy/move the task to.

$subject : string

Subject.

$body : string

Message body.

Return values
bool

True on success.


        
On this page

Search results