ldap_get_optionDescriptionbool ldap_get_option ( resource link_identifier, int option, mixed retval)Sets retval to the value of the specified option. 如果成功则返回 TRUE,失败则返回 FALSE。 The parameter option can be one of: LDAP_OPT_DEREF, LDAP_OPT_SIZELIMIT, LDAP_OPT_TIMELIMIT, LDAP_OPT_PROTOCOL_VERSION, LDAP_OPT_ERROR_NUMBER, LDAP_OPT_REFERRALS, LDAP_OPT_RESTART, LDAP_OPT_HOST_NAME, LDAP_OPT_ERROR_STRING, LDAP_OPT_MATCHED_DN. These are described in draft-ietf-ldapext-ldap-c-api-xx.txt
See also ldap_set_option(). | |||