Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
 SEARCH_SCOPE_SUB = '1'
       Details
 Details SEARCH_SCOPE_ONE = '2'
       Details
 Details SEARCH_SCOPE_BASE = '3'
       Details
 Details ACCTNAME_FORM_DN = '1'
       Details
 Details ACCTNAME_FORM_USERNAME = '2'
       Details
 Details ACCTNAME_FORM_BACKSLASH = '3'
       Details
 Details ACCTNAME_FORM_PRINCIPAL = '4'
       Details
 Detailsboolean|null|string $_boundUser = 'false'FALSE if no user is bound to the LDAP resource NULL if there has been an anonymous bind username of the currently bound user
 Details
 Detailsstring $_connectString = ''String used with ldap_connect for error handling purposes.
 Details
 Detailsarray $_options = 'null'The options used in connecting, binding, etc.
 Details
 Detailsresource $_resource = 'null'The raw LDAP extension resource.
 Details
 DetailsZend_Ldap_Node $_rootDse = 'null'Caches the RootDSE
 Details
 DetailsZend_Ldap_Node $_schema = 'null'Caches the schema
 Details
 Details__construct(
          array|Zend_Config $options
              =
              array
          )
        
        :
        voidConstructor.
 Details
 Details__destruct(
          
          )
        
        :
        voidDestructor.
 Details
 Details_createCollection(
          Zend_Ldap_Collection_Iterator_Default $iterator, string|null $collectionClass
          )
        
        :
        Zend_Ldap_CollectionExtension point for collection creation
 Details
 Details_getAccount(
           $acctname, array $attrs
              =
              null
          )
        
        :
        array
 Details
 Details_getAccountCanonicalForm(
          
          )
        
        :
        integer
 Details
 Details_getAccountDn(
          string $acctname
          )
        
        :
        string
 Details
 Details_getAccountDomainName(
          
          )
        
        :
        string
 Details
 Details_getAccountDomainNameShort(
          
          )
        
        :
        string
 Details
 Details_getAccountFilter(
           $acctname
          )
        
        :
        string
 Details
 Details_getAccountFilterFormat(
          
          )
        
        :
        string
 Details
 Details_getAllowEmptyPassword(
          
          )
        
        :
        boolean
 Details
 Details_getBindRequiresDn(
          
          )
        
        :
        boolean
 Details
 Details_getChildrenDns(
          string|Zend_Ldap_Dn $parentDn
          )
        
        :
        arrayRetrieve the immediate children DNs of the given $parentDn
This method is used in recursive methods like {@see delete()} or {@see copy()}
 Details
 Details_getHost(
          
          )
        
        :
        string
 Details
 Details_getOptReferrals(
          
          )
        
        :
        boolean
 Details
 Details_getPassword(
          
          )
        
        :
        string
 Details
 Details_getPort(
          
          )
        
        :
        int
 Details
 Details_getTryUsernameSplit(
          
          )
        
        :
        boolean
 Details
 Details_getUseSsl(
          
          )
        
        :
        boolean
 Details
 Details_getUseStartTls(
          
          )
        
        :
        boolean
 Details
 Details_getUsername(
          
          )
        
        :
        string
 Details
 Details_isPossibleAuthority(
          string $dname
          )
        
        :
        boolean
 Details
 Details_splitName(
          string $name, string $dname, string $aname
          )
        
        :
        void
 Details
 Detailsadd(
          string|Zend_Ldap_Dn $dn, array $entry
          )
        
        :
        Zend_LdapAdd new information to the LDAP repository
 Details
 Detailsbind(
          string $username
              =
              null, string $password
              =
              null
          )
        
        :
        Zend_Ldap
 Details
 Detailsconnect(
          string $host
              =
              null, int $port
              =
              null, boolean $useSsl
              =
              null, boolean $useStartTls
              =
              null
          )
        
        :
        Zend_LdapTo connect using SSL it seems the client tries to verify the server certificate by default. One way to disable this behavior is to set 'TLS_REQCERT never' in OpenLDAP's ldap.conf and restarting Apache. Or, if you really care about the server's cert you can put a cert on the web server.
 Details
 Detailscopy(
          string|Zend_Ldap_Dn $from, string|Zend_Ldap_Dn $to, boolean $recursively
              =
              false
          )
        
        :
        Zend_LdapCopies a LDAP entry from one DN to another DN.
 Details
 DetailscopyToSubtree(
          string|Zend_Ldap_Dn $from, string|Zend_Ldap_Dn $to, boolean $recursively
              =
              false
          )
        
        :
        Zend_LdapCopies a LDAP entry from one DN to another subtree.
 Details
 Detailscount(
          string|Zend_Ldap_Filter_Abstract $filter, string|Zend_Ldap_Dn|null $basedn
              =
              null, integer $scope
              =
              self
          )
        
        :
        integerCount items found by given filter.
 Details
 DetailscountChildren(
          string|Zend_Ldap_Dn $dn
          )
        
        :
        integerCount children for a given DN.
 Details
 Detailsdelete(
          string|Zend_Ldap_Dn $dn, boolean $recursively
              =
              false
          )
        
        :
        Zend_LdapDelete an LDAP entry
 Details
 Detailsdisconnect(
          
          )
        
        :
        Zend_Ldap
 Details
 Detailsexists(
          string|Zend_Ldap_Dn $dn
          )
        
        :
        booleanCheck if a given DN exists.
 Details
 DetailsexplodeDn(
          string $dn, array $keys
              =
              null, array $vals
              =
              null
          )
        
        :
        boolean
 Details
 DetailsfilterEscape(
          string $str
          )
        
        :
        string
 Details
 DetailsgetBaseDn(
          
          )
        
        :
        stringGets the base DN under which objects of interest are located
 Details
 DetailsgetBaseNode(
          
          )
        
        :
        Zend_Ldap_NodeReturns the base node as a Zend_Ldap_Node
 Details
 DetailsgetBoundUser(
          
          )
        
        :
        false|null|stringGet the currently bound user
FALSE if no user is bound to the LDAP resource NULL if there has been an anonymous bind username of the currently bound user
 Details
 DetailsgetCanonicalAccountName(
          string $acctname,  $form
              =
              0
          )
        
        :
        string
 Details
 DetailsgetEntry(
          string|Zend_Ldap_Dn $dn, array $attributes
              =
              array, boolean $throwOnNotFound
              =
              false
          )
        
        :
        arrayGet LDAP entry by DN
 Details
 DetailsgetLastError(
          int $errorCode
              =
              null, array $errorMessages
              =
              null
          )
        
        :
        stringReturn the LDAP error message of the last LDAP command
 Details
 DetailsgetLastErrorCode(
          
          )
        
        :
        intReturn the LDAP error number of the last LDAP command
 Details
 DetailsgetNode(
          string|Zend_Ldap_Dn $dn
          )
        
        :
        Zend_Ldap_Node|nullReturns the specified DN as a Zend_Ldap_Node
 Details
 DetailsgetOptions(
          
          )
        
        :
        array
 Details
 DetailsgetResource(
          
          )
        
        :
        resource
 Details
 DetailsgetRootDse(
          
          )
        
        :
        Zend_Ldap_Node_RootDseReturns the RootDSE
 Details
 DetailsgetSchema(
          
          )
        
        :
        Zend_Ldap_Node_SchemaReturns the schema
 Details
 Detailsmove(
          string|Zend_Ldap_Dn $from, string|Zend_Ldap_Dn $to, boolean $recursively
              =
              false, boolean $alwaysEmulate
              =
              false
          )
        
        :
        Zend_LdapMoves a LDAP entry from one DN to another DN.
This is an alias for {@link rename()}
 Details
 DetailsmoveToSubtree(
          string|Zend_Ldap_Dn $from, string|Zend_Ldap_Dn $to, boolean $recursively
              =
              false, boolean $alwaysEmulate
              =
              false
          )
        
        :
        Zend_LdapMoves a LDAP entry from one DN to another subtree.
 Details
 DetailsprepareLdapEntryArray(
          array $entry
          )
        
        :
        voidPrepares an ldap data entry array for insert/update operation
 Details
 Detailsrename(
          string|Zend_Ldap_Dn $from, string|Zend_Ldap_Dn $to, boolean $recursively
              =
              false, boolean $alwaysEmulate
              =
              false
          )
        
        :
        Zend_LdapRenames a LDAP entry from one DN to another DN.
This method implicitely moves the entry to another location within the tree.
 Details
 Detailssave(
          string|Zend_Ldap_Dn $dn, array $entry
          )
        
        :
        Zend_LdapSave entry to LDAP registry.
Internally decides if entry will be updated to added by calling {@link exists()}.
 Details
 Detailssearch(
          string|Zend_Ldap_Filter_Abstract|array $filter, string|Zend_Ldap_Dn|null $basedn
              =
              null, integer $scope
              =
              self, array $attributes
              =
              array, string|null $sort
              =
              null, string|null $collectionClass
              =
              null, integer $sizelimit
              =
              0, integer $timelimit
              =
              0
          )
        
        :
        Zend_Ldap_CollectionA global LDAP search routine for finding information.
Options can be either passed as single parameters according to the method signature or as an array with one or more of the following keys - filter - baseDn - scope - attributes - sort - collectionClass - sizelimit - timelimit
 Details
 DetailssearchEntries(
          string|Zend_Ldap_Filter_Abstract|array $filter, string|Zend_Ldap_Dn|null $basedn
              =
              null, integer $scope
              =
              self, array $attributes
              =
              array, string|null $sort
              =
              null, boolean $reverseSort
              =
              false, integer $sizelimit
              =
              0, integer $timelimit
              =
              0
          )
        
        :
        arraySearch LDAP registry for entries matching filter and optional attributes
Options can be either passed as single parameters according to the method signature or as an array with one or more of the following keys - filter - baseDn - scope - attributes - sort - reverseSort - sizelimit - timelimit
 Details
 DetailssetOptions(
          array|Zend_Config $options
          )
        
        :
        Zend_LdapSets the options used in connecting, binding, etc.
Valid option keys: host port useSsl username password bindRequiresDn baseDn accountCanonicalForm accountDomainName accountDomainNameShort accountFilterFormat allowEmptyPassword useStartTls optRefferals tryUsernameSplit
 Details
 Detailsupdate(
          string|Zend_Ldap_Dn $dn, array $entry
          )
        
        :
        Zend_LdapUpdate LDAP registry
 Details
 Details