[ Index ]
 

Code source de Horde 3.1.3

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/Horde/IMAP/ -> ACL.php (sommaire)

(pas de description)

Poids: 214 lignes (6 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

IMAP_ACL:: (11 méthodes):
  IMAP_ACL()
  getACL()
  createACL()
  editACL()
  canEdit()
  getRights()
  getProtected()
  isSupported()
  getError()
  factory()
  singleton()


Classe: IMAP_ACL  - X-Ref

Contains functions related to managing
Access Control Lists.

$Horde: framework/IMAP/IMAP/ACL.php,v 1.2.12.10 2006/02/03 03:07:57 selsky Exp $

Copyright 2003-2006 Chris Hastie <imp@oak-wood.co.uk>

See the enclosed file COPYING for license information (LGPL). If you
did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.

IMAP_ACL($params = array()   X-Ref
Constructor.

param: array $params  Hash containing connection parameters.

getACL($folder)   X-Ref
Attempts to retrieve the existing ACL for a folder from
the current IMAP server.

param: string folder  The folder to get the ACL for
return: array  A hash containing information on the ACL

createACL($folder, $share_user, $acl)   X-Ref
Sets the ACL on an IMAP server

param: string $folder  The folder on which to edit the ACL
param: string $share_user  The user to grant rights to
param: array $acl  An array, the keys of which are the
return: mixed  True on success, false on failure unless

editACL($folder, $share_user, $acl)   X-Ref
Edits an ACL on an IMAP server

param: string $folder  The folder on which to edit the ACL
param: string $share_user  The user to grant rights to
param: array $acl  An array, the keys of which are the
return: mixed  True on success, false on failure unless

canEdit($folder, $user)   X-Ref
Can a user edit the ACL for this folder? Returns true if $user
permission to edit the ACL on $folder

param: string $folder  The folder name
param: string $user  A user name
return: boolean  True if $user has 'a' right

getRights()   X-Ref
Pas de description

getProtected()   X-Ref
Pas de description

isSupported()   X-Ref
Pas de description

getError()   X-Ref
Pas de description

factory($driver, $params = array()   X-Ref
Attempts to return an ACL instance based on $driver.

param: string $driver  The type of concrete ACL subclass to return.
param: array $params   A hash containing any additional configuration or
return: mixed  The newly created concrete ACL instance, or false

singleton($driver, $params = array()   X-Ref
Attempts to return a reference to a concrete ACL instance
based on $driver.  It will only create a new instance if no
ACL instance with the same parameters currently exists.

This method must be invoked as: $var = &IMAP_ACL::singleton()

param: string $driver  The type of concrete ACL subclass to return.
param: array $params   A hash containing any additional configuration or
return: mixed  The created concrete ACL instance, or false on error.



Généré le : Sun Feb 25 18:01:28 2007 par Balluche grâce à PHPXref 0.7