Doc #54420 [Opn->Csd]: missing documentation for ldap function ldap_parse_result
| From: | aharvey@php.net | Date: | Mon, 02 Jun 2014 21:41:06 +0000 |
| Subject: | Doc #54420 [Opn->Csd]: missing documentation for ldap function ldap_parse_result | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-11256@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=54420&edit=1
ID: 54420
Updated by: aharvey@php.net
Reported by: gries at gries dot tv
Summary: missing documentation for ldap function
ldap_parse_result
-Status: Open
+Status: Closed
Type: Documentation Problem
-Package: LDAP related
+Package: Documentation problem
PHP Version: 5.3.6
-Assigned To:
+Assigned To: aharvey
Block user comment: N
Private report: N
New Comment:
The fix for this bug has been committed.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
For Windows:
http://windows.php.net/snapshots/
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2014-06-02 21:40:43] aharvey@php.net
Automatic comment from SVN on behalf of aharvey
Revision: http://svn.php.net/viewvc/?view=revision&revision=333701
Log: Hack together some basic documentation for ldap_parse_result().
Fixes doc bug #54420 (missing documentation for ldap function
ldap_parse_result).
------------------------------------------------------------------------
[2011-03-29 22:57:46] gries at gries dot tv
Description:
------------
---
From manual page: http://www.php.net/function.ldap-parse-result
---
There is no documentation for this function yet.
Here is what I found out by looking through the phps source code:
# Description: Parse an LDAP search result.
# Parameters:
* resource $link - An LDAP link identifier, returned by ldap_connect().
* resource $result - An LDAP result identifier, returned by ldap_search() or ldap_list
* int &errcode - Will be filled with the LDAP errorcode from the result, default = (int)0
* string &matcheddn - If the server recognizes a part of a name in a request the matcheddn
parameters will be filled with that string otherwhise its NULL.
* string &errmsg - Will be filled with LDAP errormsg from the result, default = empty string
* string &referals - will contain all referals strings found in the result, default = empty
array
# Return Values
On Success returns TRUE, otherwise throws a warning and returns FALSE
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=54420&edit=1