Class MIMP

Description

MIMP Base Class.

$Horde: mimp/lib/MIMP.php,v 1.69.2.7 2009/01/06 15:24:53 jan Exp $

Copyright 1999-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/MIMP.php (line 15)


	
			
Method Summary
 void addMIMPMenu (Horde_Mobile_linkset &$menu, string $page)
 string composeLink ([mixed $args = array()], [array $extra = array()])
 string generateMIMPUrl (string $page, string $mailbox, [string $index = null], [string $tmailbox = null])
Methods
addMIMPMenu (line 25)

Take a Horde_Mobile_card and add global MIMP menu items.

void addMIMPMenu (Horde_Mobile_linkset &$menu, string $page)
  • Horde_Mobile_linkset &$menu: The menu linkset, with page-specific options already filled in.
  • string $page: The current page ('compose', 'folders', 'mailbox', 'message').
composeLink (line 94)

Returns the appropriate link to call the message composition screen.

  • return: The link to the message composition screen.
  • since: MIMP 1.1
string composeLink ([mixed $args = array()], [array $extra = array()])
  • mixed $args: List of arguments to pass to compose.php. If this is passed in as a string, it will be parsed as a toaddress?subject=foo&cc=ccaddress (mailto-style) string.
  • array $extra: Hash of extra, non-standard arguments to pass to compose.php.
generateMIMPUrl (line 75)

Generates a URL with necessary mailbox/index information for MIMP.

  • return: URL to $page with any necessary mailbox information added to the parameter list of the URL.
string generateMIMPUrl (string $page, string $mailbox, [string $index = null], [string $tmailbox = null])
  • string $page: Page name to link to.
  • string $mailbox: The base mailbox to use on the linked page.
  • string $index: The index to use on the linked page.
  • string $tmailbox: The mailbox associated with $index.

Documentation generated on Sun, 30 Jan 2011 05:32:52 +0000 by phpDocumentor 1.4.3