| [ Index ] |
|
Code source de Horde 3.1.3 |
[Code source] [Imprimer] [Statistiques]
Horde_String class.
| Poids: | 578 lignes (21 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
Prefs_ldap:: (8 méthodes):
Prefs_ldap()
_connect()
_disconnect()
_rebindProc()
retrieve()
store()
clear()
cleanup()
Classe: Prefs_ldap - X-Ref
Preferences storage implementation for PHP's LDAP extention.| Prefs_ldap($user, $password, $scope = '',$params = array() X-Ref |
| Constructs a new LDAP preferences object. param: string $user The user who owns these preferences. param: string $password The password associated with $user. param: string $scope The current application scope. param: array $params A hash containing connection parameters. param: boolean $caching Should caching be used? |
| _connect() X-Ref |
| Opens a connection to the LDAP server. return: mixed True on success or a PEAR_Error object on failure. |
| _disconnect() X-Ref |
| Disconnect from the LDAP server and clean up the connection. return: boolean True on success, false on failure. |
| _rebindProc($conn, $who) X-Ref |
| Callback function for LDAP referrals. This function is called when an LDAP operation returns a referral to an alternate server. return: integer 1 on error, 0 on success. |
| retrieve() X-Ref |
| Retrieves the requested set of preferences from the user's LDAP entry. return: mixed True on success or a PEAR_Error object on failure. |
| store() X-Ref |
| Stores preferences to the LDAP server. return: mixed True on success or a PEAR_Error object on failure. |
| clear() X-Ref |
| Clears all preferences from the LDAP backend. |
| cleanup($all = false) X-Ref |
| Perform cleanup operations. param: boolean $all Cleanup all Horde preferences. |
| Généré le : Sun Feb 25 18:01:28 2007 | par Balluche grâce à PHPXref 0.7 |