You are here

class ldap_authorization in Lightweight Directory Access Protocol (LDAP) 6

LDAP authorization Class

This class is used to properly authenticate to an LDAP server.

Hierarchy

Expanded class hierarchy of ldap_authorization

3 string references to 'ldap_authorization'
ldap_authorization_uninstall in ldap_authorization/ldap_authorization.install
Implementation of hook_uninstall().
ldap_authorizaton_install in ldap_authorization/ldap_authorization.install
Implementation of hook_install().
_ldap_api_get_ldap_settings in ./ldap_api.admin.inc

File

includes/ldap.authorization.inc, line 14
Defines the authorization class and related functions.

View source
class ldap_authorization {

  /**
   * Constructor Method
   */
  function __construct() {
  }

  /**
   * Destructor Method
   */
  function __destruct() {
  }

  /**
   * Invoke Method
   */
  function __invoke() {
  }

  /**
   * Error Handling Method
   *
   * @param int errno
   *   The level of the error raised.
   *
   * @param string errstr
   *   The error message.
   *
   * @param string errfile
   *   The filename that the error was raised in.
   *
   * @param int errline
   *   The line number the error was raised at.
   *
   * @param array errcontext
   *   An array of every variable that existed in the scope the error was
   *   triggered in.
   *
   * @return bool
   *   Always return TRUE to avoid PHP's builtin handler.
   */
  function error_handler($errno, $errstr, $errfile, $errline, $errcontext) {
    return TRUE;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
ldap_authorization::error_handler function Error Handling Method
ldap_authorization::__construct function Constructor Method
ldap_authorization::__destruct function Destructor Method
ldap_authorization::__invoke function Invoke Method