JLDAP::compare
From Joomla! Documentation
Revision as of 19:18, 10 May 2013 by JoomlaWikiBot (talk | contribs) (JoomlaWikiBot moved page JLDAP::compare/11.1 to API17:JLDAP::compare without leaving a redirect: Robot: Moved page)
Revision as of 19:18, 10 May 2013 by JoomlaWikiBot (talk | contribs) (JoomlaWikiBot moved page JLDAP::compare/11.1 to API17:JLDAP::compare without leaving a redirect: Robot: Moved page)
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JLDAP::compare[edit]
Description[edit]
Compare an entry and return a true or false result.
Template:Description:JLDAP::compare [Edit Descripton]
public function compare (
$dn
$attribute
$value
)
Parameter | Type | Default | Description |
---|---|---|---|
$dn | string | dn The DN which contains the attribute you want to compare | |
$attribute | string | attribute The attribute whose value you want to compare | |
$value | string | value The value you want to check against the LDAP attribute |
- Returns mixed result of comparison (true, false, -1 on error)
- Defined on line 305 of libraries/joomla/client/ldap.php
See also[edit]
- JLDAP::compare source code on BitBucket
- Class JLDAP
- Subpackage Client
- Other versions of JLDAP::compare
Template:SeeAlso:JLDAP::compare [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />