PHP Class IMP_Mbox_Generate, horde

Author: Didi Rieder ([email protected])
Author: Michael Slusarz ([email protected])
Exibir arquivo Open project: horde/horde

Public Methods

Method Description
generate ( mixed $mboxes ) : resource Generates a string that can be saved out to an mbox format mailbox file for a mailbox (or set of mailboxes), optionally including all subfolders of the selected mailbox(es) as well. All mailboxes will be output in the same string.

Method Details

generate() public method

Generates a string that can be saved out to an mbox format mailbox file for a mailbox (or set of mailboxes), optionally including all subfolders of the selected mailbox(es) as well. All mailboxes will be output in the same string.
public generate ( mixed $mboxes ) : resource
$mboxes mixed A mailbox name (UTF-8), or list of mailbox names, to generate a mbox file for.
return resource A stream resource containing the text of a mbox format mailbox file.