API15:JLDAP/rename
From Joomla! Documentation
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
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); }
[Edit See Also] SeeAlso:JLDAP/rename
Examples
<CodeExamplesForm />
