API17

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.  
  
{{Description:JLDAP::replace}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JLDAP::replace|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
 
<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/11.1|JLDAP]]
+
* {{JVer|11.1}} Class [[API17:JLDAP|JLDAP]]
* {{JVer|11.1}} Subpackage [[Subpackage_Client/11.1|Client]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Client|Client]]
* [[JLDAP::replace|Other versions of JLDAP::replace]]
+
* [[API17:JLDAP::replace|Other versions of JLDAP::replace]]
{{SeeAlso:JLDAP::replace}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[SeeAlso:JLDAP::replace|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
 
===User contributed notes===
 
===User contributed notes===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JLDAP::replace
 
category=JLDAP::replace
category=CodeExample
+
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.

Joomla 11.1 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]


User contributed notes[edit]

Code Examples[edit]