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_Facebook

Read-only Turba directory driver for Facebook friends. Requires a Horde application to be setup on Facebook and configured in horde/config/conf.php.

Of limited utility since email addresses are not retrievable via the Facebook API, unless the user allows the Horde application to access it - and even then, it's a proxied email address.

Copyright 2009-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_Facebook
Package: Turba
Category: Horde
License: ASL
Author: Michael J. Rubinsky mrubinsk@horde.org
Author: Jan Schneider jan@horde.org
Located at Driver/Facebook.php
Methods summary
public
# __construct( string $name = '', array $params = array() )

Constructor

Constructor

Parameters

$name
$params

Overrides

Turba_Driver::__construct()
public boolean
# hasPermission( integer $perm )

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

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

Parameters

$perm
The permission to check for.

Returns

boolean
True if the user has permission, otherwise false.

Overrides

Turba_Driver::hasPermission()
public static
# _prepareCallback( mixed $field )
Methods inherited from Turba_Driver
add(), canAdd(), checkDefaultShare(), count(), createShare(), 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