Difference between revisions of "JLDAP::replace"
From Joomla! Documentation
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JLDAP::replace|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JLDAP::replace|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public | + | public function replace ( |
+ | $dn | ||
+ | $attribute | ||
+ | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 30: | Line 32: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' mixed result of comparison (true, false, -1 on error) | |
− | mixed result of comparison (true, false, -1 on error) | + | * '''Defined''' on line 267 of libraries/joomla/client/ldap.php |
− | |||
− | libraries/joomla/client/ldap.php | ||
− | |||
− | |||
===See also=== | ===See also=== | ||
+ | * {{JVer|11.1}} '''JLDAP::replace source code''' on [[jplatform:client/ldap.php#cl-259|BitBucket]] | ||
+ | * {{JVer|11.1}} Class [[JLDAP/11.1|JLDAP]] | ||
+ | * {{JVer|11.1}} Subpackage [[Subpackage_Client/11.1|Client]] | ||
+ | * [[JLDAP::replace|Other versions of JLDAP::replace]] | ||
+ | {{SeeAlso:JLDAP::replace}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JLDAP::replace|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JLDAP::replace|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | + | ===User contributed notes=== | |
− | |||
− | |||
− | === | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 51: | Line 51: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JLDAP]][[Category:JLDAP::replace]]</noinclude> | <noinclude>[[Category:JLDAP]][[Category:JLDAP::replace]]</noinclude> |
Revision as of 21:16, 27 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.
JLDAP::replace[edit]
Description[edit]
Replace an entry and return a true or false result.
Template:Description:JLDAP::replace [Edit Descripton]
public function replace (
$dn
$attribute
)
Parameter | Type | Default | Description |
---|---|---|---|
$dn | string | dn The DN which contains the attribute you want to replace | |
$attribute | string | attribute The attribute values you want to replace |
- Returns mixed result of comparison (true, false, -1 on error)
- Defined on line 267 of libraries/joomla/client/ldap.php
See also[edit]
- JLDAP::replace source code on BitBucket
- Class JLDAP
- Subpackage Client
- Other versions of JLDAP::replace
Template:SeeAlso:JLDAP::replace [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />