Documentation

Ingo_Script_Imap_Mock extends Ingo_Script_Imap_Api
in package

This file defines the base driver class for Ingo_Script_Imap.

Tags
category

Horde

license

http://www.horde.org/licenses/apache ASL

Table of Contents

$_fixtures  : mixed
TODO
$_folders  : mixed
TODO
$_params  : array<string|int, mixed>
Configuration parameters.
__construct()  : mixed
TODO
copyMessages()  : bool
TODO
deleteMessages()  : mixed
TODO
fetchEnvelope()  : Horde_Imap_Client_Data_Fetch
TODO
getCache()  : mixed
TODO
hasMessage()  : mixed
TODO
loadFixtures()  : mixed
TODO
moveMessages()  : bool
TODO
search()  : mixed
TODO
setMessageFlags()  : mixed
TODO
storeCache()  : mixed
TODO

Properties

$_fixtures

TODO

protected mixed $_fixtures = array()

$_folders

TODO

protected mixed $_folders = array()

$_params

Configuration parameters.

protected array<string|int, mixed> $_params

Methods

__construct()

TODO

public __construct([mixed $params = array() ]) : mixed
Parameters
$params : mixed = array()
Return values
mixed

copyMessages()

TODO

public abstract copyMessages(mixed $indices, mixed $folder) : bool
Parameters
$indices : mixed
$folder : mixed
Return values
bool

deleteMessages()

TODO

public deleteMessages(mixed $indices) : mixed
Parameters
$indices : mixed
Return values
mixed

fetchEnvelope()

TODO

public fetchEnvelope(mixed $indices) : Horde_Imap_Client_Data_Fetch
Parameters
$indices : mixed
Return values
Horde_Imap_Client_Data_Fetch

getCache()

TODO

public getCache() : mixed
Return values
mixed

hasMessage()

TODO

public hasMessage(mixed $fixture[, mixed $folder = 'INBOX' ]) : mixed
Parameters
$fixture : mixed
$folder : mixed = 'INBOX'
Return values
mixed

loadFixtures()

TODO

public loadFixtures(mixed $dir) : mixed
Parameters
$dir : mixed
Return values
mixed

moveMessages()

TODO

public moveMessages(mixed $indices, mixed $folder) : bool
Parameters
$indices : mixed
$folder : mixed
Return values
bool

TODO

public search(mixed $query) : mixed
Parameters
$query : mixed
Tags
todo

The new Horde_Imap library only does server-side searches now, so we can't use Horde_Imap_Client_Search_Query for mock searches anymore.

Return values
mixed

setMessageFlags()

TODO

public abstract setMessageFlags(mixed $indices, mixed $flags) : mixed
Parameters
$indices : mixed
$flags : mixed
Return values
mixed

storeCache()

TODO

public storeCache(mixed $timestamp) : mixed
Parameters
$timestamp : mixed
Return values
mixed

Search results