IMP_FolderThe IMP_Folder:: class provides a set of methods for dealing with folders, accounting for subscription, errors, etc.
$Horde: imp/lib/Folder.php,v 1.130.10.49 2009/01/06 15:24:03 jan Exp $
Copyright 2000-2009 The Horde Project (http://www.horde.org/)
See the enclosed file COPYING for license information (GPL). If you did not receive this file, see http://www.fsf.org/copyleft/gpl.html.
Located in /lib/Folder.php (line 17)
clearFlistCache (line 154)
Clears the flist folder cache.
create (line 259)
Create a new IMAP folder if it does not already exist, and subcribe to it as well if requested.
delete (line 176)
Deletes one or more folders.
exists (line 330)
Finds out if a specific folder exists or not.
flist (line 64)
Lists folders.
flist_IMP (line 144)
Returns an array of folders. This is a wrapper around the flist() function which reduces the number of arguments needed if we can assume that IMP's full environment is present.
generateMbox (line 518)
Generates a string that can be saved out to an mbox format mailbox file for a folder or set of folders, optionally including all subfolders of the selected folders as well. All folders will be put into the same string.
importMbox (line 559)
Imports messages into a given folder from a mbox format mailbox file.
rename (line 354)
Renames an IMAP folder. The subscription status remains the same. All subfolders will also be renamed.
singleton (line 38)
Returns a reference to the global IMP_Folder object, only creating it if it doesn't already exist. This ensures that only one IMP_Folder instance is instantiated for any given session.
This method must be invoked as:
subscribe (line 415)
Subscribes to one or more IMAP folders.
unsubscribe (line 463)
Unsubscribes from one or more IMAP folders.
Documentation generated on Sun, 30 Jan 2011 05:28:11 +0000 by phpDocumentor 1.4.3