API16

JLDAP/rename

From Joomla! Documentation

< API16:JLDAP

The "API16" 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.

Description[edit]

Rename the entry


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

Syntax[edit]

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[edit]

bool Result of operation

Defined in[edit]

libraries/joomla/client/ldap.php

Importing[edit]

jimport( 'joomla.client.ldap' );

Source Body[edit]

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


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

Examples[edit]

Code Examples[edit]