API17:JLDAP::compare
From Joomla! Documentation
(Difference between revisions)
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JLDAP::compare|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JLDAP::compare|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | public | + | public function compare ( |
| + | $dn | ||
| + | $attribute | ||
| + | $value | ||
| + | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 35: | Line 38: | ||
|- | |- | ||
|} | |} | ||
| − | + | * '''Returns''' mixed result of comparison (true, false, -1 on error) | |
| − | mixed result of comparison (true, false, -1 on error) | + | * '''Defined''' on line 305 of libraries/joomla/client/ldap.php |
| − | + | ||
| − | libraries/joomla/client/ldap.php | + | |
| − | + | ||
| − | + | ||
===See also=== | ===See also=== | ||
| + | * {{JVer|11.1}} '''JLDAP::compare source code''' on [[jplatform:client/ldap.php#cl-297|BitBucket]] | ||
| + | * {{JVer|11.1}} Class [[JLDAP/11.1|JLDAP]] | ||
| + | * {{JVer|11.1}} Subpackage [[Subpackage_Client/11.1|Client]] | ||
| + | * [[JLDAP::compare|Other versions of JLDAP::compare]] | ||
| + | {{SeeAlso:JLDAP::compare}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JLDAP::compare|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JLDAP::compare|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 56: | Line 57: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JLDAP]][[Category:JLDAP::compare]]</noinclude> | <noinclude>[[Category:JLDAP]][[Category:JLDAP::compare]]</noinclude> | ||
Revision as of 21:15, 27 April 2011
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JLDAP::compare
Description
Compare an entry and return a true or false result.
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
-
JLDAP::compare source code on BitBucket
-
Class JLDAP
-
Subpackage Client
- Other versions of JLDAP::compare
SeeAlso:JLDAP::compare [Edit See Also]
User contributed notes
<CodeExamplesForm />
