[ Index ]
 

Code source de Horde 3.1.3

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

title

Body

[fermer]

/lib/ -> api.php (sommaire)

Horde external API interface.

Poids: 764 lignes (22 kb)
Inclus ou requis:0 fois
Référencé: 2 fois
Nécessite: 5 fichiers
 lib/Horde/Share.php
 lib/Horde/Prefs.php
 lib/Horde/Group.php
 lib/Horde/Block/Collection.php
 lib/Horde/Block.php

Définit 31 fonctions

  _horde_perms()
  _horde_admin_list()
  _horde_listApps()
  _horde_listAPIs()
  _horde_block()
  _horde_blockTitle()
  _horde_blockContent()
  _horde_blocks()
  _horde_getPreference()
  _horde_setPreference()
  _horde_removeUserData()
  _horde_addGroup()
  _horde_removeGroup()
  _horde_addUserToGroup()
  _horde_addUsersToGroup()
  _horde_removeUserFromGroup()
  _horde_removeUsersFromGroup()
  _horde_listUsersOfGroup()
  _horde_addShare()
  _horde_removeShare()
  _horde_listSharesOfOwner()
  _horde_addUserPermissions()
  _horde_addGroupPermissions()
  _horde_setUserPermissions()
  _horde_setGroupPermissions()
  _horde_removeUserPermissions()
  _horde_removeGroupPermissions()
  _horde_listUserPermissions()
  _horde_listGroupPermissions()
  _horde_listUsersOfShare()
  _horde_listGroupsOfShare()

Fonctions
Fonctions qui ne font pas partie d'une Classe:

_horde_perms()   X-Ref
Pas de description

_horde_admin_list()   X-Ref
Pas de description

_horde_listApps($filter = null)   X-Ref
Pas de description

_horde_listAPIs()   X-Ref
Pas de description

_horde_block($app, $name, $params = array()   X-Ref
Pas de description

_horde_blockTitle($app, $name, $params = array()   X-Ref
Pas de description

_horde_blockContent($app, $name, $params = array()   X-Ref
Pas de description

_horde_blocks()   X-Ref
Pas de description

_horde_getPreference($app, $pref)   X-Ref
Pas de description

_horde_setPreference($app, $pref, $value)   X-Ref
Pas de description

_horde_removeUserData($user)   X-Ref
Pas de description

_horde_addGroup($name, $parent = null)   X-Ref
Adds a group to the groups system.

param: string $name    The group's name.
param: string $parent  The group's parent's name.

_horde_removeGroup($name)   X-Ref
Removes a group from the groups system.

param: string $name  The group's name.

_horde_addUserToGroup($name, $user)   X-Ref
Adds a user to a group.

param: string $name  The group's name.
param: string $user  The user to add.

_horde_addUsersToGroup($name, $users)   X-Ref
Adds multiple users to a group.

param: string $name  The group's name.
param: array $users  The users to add.

_horde_removeUserFromGroup($name, $user)   X-Ref
Removes a user from a group.

param: string $name  The group's name.
param: string $user  The user to add.

_horde_removeUsersFromGroup($name, $users)   X-Ref
Removes multiple users from a group.

param: string $name  The group's name.
param: array $users  The users to add.

_horde_listUsersOfGroup($name)   X-Ref
Returns a list of users that are part of this group (and only this group)

return: array  The user list.

_horde_addShare($shareRoot, $shareName, $shareTitle, $userName)   X-Ref
Adds a share to the shares system.

param: string $shareRoot   The name of the share root, e.g. the
param: string $shareName   The share's name.
param: string $shareTitle  The share's human readable title.
param: string $userName    The share's owner.

_horde_removeShare($shareRoot, $shareName)   X-Ref
Removes a share from the shares system permanently.

param: string $shareRoot  The name of the share root, e.g. the
param: string $shareName  The share's name.

_horde_listSharesOfOwner($shareRoot, $userName)   X-Ref
Returns an array of all shares that $userName is the owner of.

param: string $shareRoot  The name of the share root, e.g. the
param: string $userName   The share's owner.
return: array  The list of shares.

_horde_addUserPermissions($shareRoot, $shareName, $userName,$permissions)   X-Ref
Gives a user certain privileges for a share.

param: string $shareRoot   The name of the share root, e.g. the
param: string $shareName   The share's name.
param: string $userName    The user's name.
param: array $permissions  A list of permissions (show, read, edit, delete).

_horde_addGroupPermissions($shareRoot, $shareName, $groupName,$permissions)   X-Ref
Gives a group certain privileges for a share.

param: string $shareRoot   The name of the share root, e.g. the
param: string $shareName   The share's name.
param: string $groupName   The group's name.
param: array $permissions  A list of permissions (show, read, edit, delete).

_horde_setUserPermissions($shareRoot, $shareName, $userName,$permissions)   X-Ref
Pas de description

_horde_setGroupPermissions($shareRoot, $shareName, $groupName,$permissions)   X-Ref
Pas de description

_horde_removeUserPermissions($shareRoot, $shareName, $userName)   X-Ref
Removes a user from a share.

param: string $shareRoot   The name of the share root, e.g. the
param: string $shareName   The share's name.
param: string $userName    The user's name.

_horde_removeGroupPermissions($shareRoot, $shareName, $groupName)   X-Ref
Removes a group from a share.

param: string $shareRoot   The name of the share root, e.g. the
param: string $shareName   The share's name.
param: string $groupName   The group's name.

_horde_listUserPermissions($shareRoot, $shareName, $userName)   X-Ref
Returns an array of all user permissions on a share.

param: string $shareRoot   The name of the share root, e.g. the
param: string $shareName   The share's name.
param: string $userName    The user's name.
return: array  All user permissions for this share.

_horde_listGroupPermissions($shareRoot, $shareName, $groupName)   X-Ref
Returns an array of all group permissions on a share.

param: string $shareRoot   The name of the share root, e.g. the
param: string $shareName   The share's name.
param: string $groupName   The group's name.
return: array  All group permissions for this share.

_horde_listUsersOfShare($shareRoot, $shareName, $permissions)   X-Ref
Returns a list of users which have have certain permissions on a share.

param: string $shareRoot   The name of the share root, e.g. the
param: string $shareName   The share's name.
param: array $permissions  A list of permissions (show, read, edit, delete).
return: array  List of users with the specified permissions.

_horde_listGroupsOfShare($shareRoot, $shareName, $permissions)   X-Ref
Returns a list of groups which have have certain permissions on a share.

param: string $shareRoot   The name of the share root, e.g. the
param: string $shareName   The share's name.
param: array $permissions  A list of permissions (show, read, edit, delete).
return: array  List of groups with the specified permissions.



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