API17

Difference between revisions of "JLDAP::compare"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 10: Line 10:
 
===Synopsis===
 
===Synopsis===
 
<source lang="php">
 
<source lang="php">
public JLDAP->compare ($dn, $attribute, $value)
+
public JLDAP::compare ($dn, $attribute, $value)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 38: Line 38:
 
mixed result of comparison (true, false, -1 on error)
 
mixed result of comparison (true, false, -1 on error)
 
===Defined in===
 
===Defined in===
libraries/joomla/client/ldap.php
+
libraries/joomla/client/ldap.php (line 305)
 +
* see source code in [[jplatform:client/ldap.php#cl-305|BitBucket]]
 
===Referenced by===
 
===Referenced by===
 
===See also===
 
===See also===

Revision as of 20:51, 23 April 2011

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.

Joomla 11.1 JLDAP::compare[edit]

Description[edit]

Compare an entry and return a true or false result.

Template:Description:JLDAP::compare [Edit Descripton]

Synopsis[edit]

public JLDAP::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[edit]

mixed result of comparison (true, false, -1 on error)

Defined in[edit]

libraries/joomla/client/ldap.php (line 305)

Referenced by[edit]

See also[edit]

[Edit See Also]

Template:SeeAlso:JLDAP::compare

Examples[edit]

<CodeExamplesForm />