Actions

API16

JLDAP/rename

From Joomla! Documentation

< API16:JLDAP
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

Rename the entry

[<! removed edit link to red link >]

<! removed transcluded page call, red link never existed >

Syntax

rename($dn, $newdn, $newparent, $deleteolddn)
Parameter Name Default Value Description
$dn dn The DN of the entry at the moment
$newdn newdn The DN of the entry should be (only cn=newvalue)
$newparent newparent The full DN of the parent (null by default)
$deleteolddn deleteolddn Delete the old values (default)

Returns

bool Result of operation

Defined in

libraries/joomla/client/ldap.php

Importing

jimport( 'joomla.client.ldap' );

Source Body

function rename($dn, $newdn, $newparent, $deleteolddn) {
        return @ldap_rename($this->_resource, $dn, $newdn, $newparent, $deleteolddn);
}

[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >

Examples

<CodeExamplesForm />