Actions

API16

JLDAP/replace

From Joomla! Documentation

< API16:JLDAP
Revision as of 17:39, 22 March 2010 by Doxiki (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Replacement filing cabinet.png
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.

Contents

Description

Replace an entry and return a true or false result

[Edit Descripton]

Description:JLDAP/replace

Syntax

replace($dn, $attribute)
Parameter Name Default Value Description
$dn dn The DN which contains the attribute you want to replace
$attribute attribute The attribute values you want to replace

Returns

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

Defined in

libraries/joomla/client/ldap.php

Importing

jimport( 'joomla.client.ldap' );

Source Body

function replace($dn, $attribute) {
        return @ldap_mod_replace($this->_resource, $dn, $attribute);
}

[Edit See Also] SeeAlso:JLDAP/replace

Examples

<CodeExamplesForm />