Class Mnemo_Driver_kolab_wrapper

Description

Horde Mnemo wrapper to distinguish between both Kolab driver implementations.

$Horde: mnemo/lib/Driver/kolab.php,v 1.7.2.12 2009/01/06 15:24:59 jan Exp $

Copyright 2004-2009 The Horde Project (http://www.horde.org/)

See the enclosed file LICENSE for license information (ASL). If you did not receive this file, see http://www.horde.org/licenses/asl.php.

Located in /lib/Driver/kolab.php (line 195)


	
			
Direct descendents
Class Description
 class Mnemo_Driver_kolab_wrapper_old Old Horde Mnemo driver for the Kolab IMAP server.
 class Mnemo_Driver_kolab_wrapper_new New Horde Mnemo driver for the Kolab IMAP server.
Variable Summary
Method Summary
 Mnemo_Driver_kolab_wrapper Mnemo_Driver_kolab_wrapper ( &$driver, string $notepad, Horde_Kolab $kolab)
 mixed connect ([int $loader = 0])
 string|PEAR_Error decrypt (string $note, string $passphrase)
 string|PEAR_Error encrypt (string $note, string $passphrase)
Variables
boolean $_connected = false (line 202)

Indicates if the wrapper has connected or not

Mnemo_Driver $_driver (line 223)

Our parent driver.

Kolab $_kolab = null (line 216)

Our Kolab server connection.

string $_notepad = '' (line 209)

String containing the current notepad name.

Methods
Constructor Mnemo_Driver_kolab_wrapper (line 231)

Constructor

Mnemo_Driver_kolab_wrapper Mnemo_Driver_kolab_wrapper ( &$driver, string $notepad, Horde_Kolab $kolab)
  • string $notepad: The notepad to load.
  • Horde_Kolab $kolab: The Kolab connection object
  • &$driver
connect (line 247)

Connect to the Kolab backend

  • return: True on success, a PEAR error otherwise
mixed connect ([int $loader = 0])
  • int $loader: The version of the XML loader

Redefined in descendants as:
decrypt (line 284)

Decrypts a note.

  • return: The decrypted text or PEAR_Error on failure.
string|PEAR_Error decrypt (string $note, string $passphrase)
  • string $note: The encrypted note text.
  • string $passphrase: The passphrase to decrypt the note with.
encrypt (line 271)

Encrypts a note.

  • return: The encrypted text or PEAR_Error on failure.
string|PEAR_Error encrypt (string $note, string $passphrase)
  • string $note: The note text.
  • string $passphrase: The passphrase to encrypt the note with.

Documentation generated on Sun, 30 Jan 2011 05:33:55 +0000 by phpDocumentor 1.4.3