Difference between revisions of "JLDAP::replace"
From Joomla! Documentation
m (→User contributed notes: moving preparation) |
m (preparing for archive only) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
Replace an entry and return a true or false result. | Replace an entry and return a true or false result. | ||
− | + | ||
− | + | ||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
public function replace ( | public function replace ( | ||
Line 36: | Line 34: | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JLDAP::replace source code''' on [[jplatform:client/ldap.php#cl-259|BitBucket]] | * {{JVer|11.1}} '''JLDAP::replace source code''' on [[jplatform:client/ldap.php#cl-259|BitBucket]] | ||
− | * {{JVer|11.1}} Class [[JLDAP | + | * {{JVer|11.1}} Class [[API17:JLDAP|JLDAP]] |
− | * {{JVer|11.1}} Subpackage [[Subpackage_Client | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Client|Client]] |
− | * [[JLDAP::replace|Other versions of JLDAP::replace]] | + | * [[API17:JLDAP::replace|Other versions of JLDAP::replace]] |
− | + | ||
− | + | ||
− | |||
− | |||
===User contributed notes=== | ===User contributed notes=== | ||
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JLDAP::replace | category=JLDAP::replace | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* |
Latest revision as of 22:20, 24 March 2017
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.
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
User contributed notes[edit]
Code Examples[edit]