Class Mnemo_Driver_kolab_wrapper_old

Description

Old Horde Mnemo driver for the Kolab IMAP server.

$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 305)

Mnemo_Driver_kolab_wrapper
   |
   --Mnemo_Driver_kolab_wrapper_old
Method Summary
 integer add (string $desc, string $body, [string $category = ''])
 void delete ( $noteId)
 void deleteAll ()
 array get (string $noteId)
 array getByUID (string $uid)
 void modify (integer $noteId, string $desc, string $body, [string $category = ''])
 void move (string $noteId, string $newNotepad)
 mixed retrieve ()
 void _buildNote ()
 void _setObject ( $desc,  $body, [ $category = ''], [ $uid = null])
Variables
Methods
add (line 382)

Add a note to the backend storage.

  • return: The numeric ID of the new note.
integer add (string $desc, string $body, [string $category = ''])
  • string $desc: The description (long) of the note.
  • string $body: The description (long) of the note.
  • string $category: The category of the note.
delete (line 416)
void delete ( $noteId)
  • $noteId
deleteAll (line 421)
void deleteAll ()
get (line 327)

Retrieve one note from the store.

  • return: The array of note attributes.
array get (string $noteId)
  • string $noteId: The ID of the note to retrieve.
getByUID (line 344)

Retrieve one note by UID.

  • return: The array of note attributes.
array getByUID (string $uid)
  • string $uid: The UID of the note to retrieve.
modify (line 395)

Modify an existing note.

void modify (integer $noteId, string $desc, string $body, [string $category = ''])
  • integer $noteId: The note to modify.
  • string $desc: The description (long) of the note.
  • string $body: The description (long) of the note.
  • string $category: The category of the note.
move (line 411)

Move a note to a new notepad.

void move (string $noteId, string $newNotepad)
  • string $noteId: The note to move.
  • string $newNotepad: The new notepad.
retrieve (line 431)

Retrieves all of the notes from $this->_notepad from the database.

  • return: True on success, PEAR_Error on failure.
mixed retrieve ()
_buildNote (line 307)
void _buildNote ()
_setObject (line 349)
void _setObject ( $desc,  $body, [ $category = ''], [ $uid = null])
  • $desc
  • $body
  • $category
  • $uid

Inherited Methods

Inherited From Mnemo_Driver_kolab_wrapper

 Mnemo_Driver_kolab_wrapper::Mnemo_Driver_kolab_wrapper()
 Mnemo_Driver_kolab_wrapper::connect()
 Mnemo_Driver_kolab_wrapper::decrypt()
 Mnemo_Driver_kolab_wrapper::encrypt()

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