Overview

Packages

  • Horde
    • Data
  • None
  • Turba

Classes

  • Turba
  • Turba_Api
  • Turba_Driver
  • Turba_Driver_Facebook
  • Turba_Driver_Favourites
  • Turba_Driver_Group
  • Turba_Driver_Imsp
  • Turba_Driver_Kolab
  • Turba_Driver_Ldap
  • Turba_Driver_Prefs
  • Turba_Driver_Share
  • Turba_Driver_Sql
  • Turba_Driver_Vbook
  • Turba_Exception
  • Turba_Factory_Driver
  • Turba_Form_AddContact
  • Turba_Form_Contact
  • Turba_Form_ContactBase
  • Turba_Form_CreateAddressBook
  • Turba_Form_DeleteAddressBook
  • Turba_Form_EditAddressBook
  • Turba_Form_EditContact
  • Turba_Form_EditContactGroup
  • Turba_List
  • Turba_LoginTasks_SystemTask_Upgrade
  • Turba_Object
  • Turba_Object_Group
  • Turba_Test
  • Turba_View_Browse
  • Turba_View_Contact
  • Turba_View_DeleteContact
  • Turba_View_Duplicates
  • Turba_View_EditContact
  • Turba_View_List
  • Overview
  • Package
  • Class
  • Tree

Class Turba_Driver_Imsp

Turba directory driver implementation for an IMSP server.

Copyright 2010-2012 Horde LLC (http://www.horde.org/)

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

Turba_Driver implements Countable
Extended by Turba_Driver_Imsp
Package: Turba
Category: Horde
License: ASL
Author: Michael Rubinsky mrubinsk@horde.org
Located at Driver/Imsp.php
Methods summary
public
# __construct( array $name, array $params )

Constructs a new Turba imsp driver object.

Constructs a new Turba imsp driver object.

Parameters

$name
<p>$params Hash containing additional configuration parameters.</p>
$params
<p>Hash containing additional configuration parameters.</p>

Overrides

Turba_Driver::__construct()
public array
# _sendSearch( array $criteria )

Sends a search request to the server.

Sends a search request to the server.

Parameters

$criteria
Array containing the search critera.

Returns

array
Array containing a list of names that match the search.
public boolean
# hasPermission( integer $perm )

Checks if the current user has the requested permission on this source.

Checks if the current user has the requested permission on this source.

Parameters

$perm
The permission to check for.

Returns

boolean
true if user has permission, false otherwise.

Overrides

Turba_Driver::hasPermission()
public Horde_Share
# createShare( array $share_id, array $params )

Creates a new Horde_Share and creates the address book on the IMSP server.

Creates a new Horde_Share and creates the address book on the IMSP server.

Parameters

$share_id
params for the share.
$params
The params for the share.

Returns

Horde_Share
The share object.

Throws

Turba_Exception

Overrides

Turba_Driver::createShare()
public TODO
# checkDefaultShare( Horde_Share_Object $share, array $srcConfig )

Check if the passed in share is the default share for this source.

Check if the passed in share is the default share for this source.

Parameters

$share
The share object.
$srcConfig
The cfgSource entry for the share.

Returns

TODO

See

turba/lib/Turba_Driver#checkDefaultShare($share , $srcconfig)

Overrides

Turba_Driver::checkDefaultShare()
Methods inherited from Turba_Driver
add(), canAdd(), count(), delete(), deleteAll(), fromASContact(), getBlobs(), getContactOwner(), getCriteria(), getFields(), getName(), getObject(), getObjects(), getParams(), getTimeObjectTurbaList(), hasCapability(), listTimeObjects(), makeSearch(), removeUserData(), save(), search(), searchDuplicates(), setContactOwner(), setSourceName(), toASContact(), toDriver(), toDriverKeys(), toHash(), toTurbaKeys(), tovCard()
Properties inherited from Turba_Driver
$alternativeName, $approximate, $fields, $listNameField, $map, $strict, $tabs, $title
API documentation generated by ApiGen