API17

Difference between revisions of "JLDAP::rename"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
m (preparing for archive only)
 
(6 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
Rename the entry.  
 
Rename the entry.  
  
{{Description:JLDAP::rename}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JLDAP::rename|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JLDAP->rename ($dn, $newdn, $newparent, $deleteolddn)
+
public function rename (
 +
        $dn
 +
        $newdn
 +
        $newparent
 +
        $deleteolddn
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 40: Line 42:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' bool Result of operation
bool Result of operation
+
* '''Defined''' on line 376 of libraries/joomla/client/ldap.php
===Defined in===
 
libraries/joomla/client/ldap.php
 
===Referenced by===
 
 
===See also===
 
===See also===
<span class="editsection" style="font-size:76%;">
+
* {{JVer|11.1}} '''JLDAP::rename source code''' on [[jplatform:client/ldap.php#cl-368|BitBucket]]
<nowiki>[</nowiki>[[SeeAlso:JLDAP::rename|Edit See Also]]<nowiki>]</nowiki>
+
* {{JVer|11.1}} Class [[API17:JLDAP|JLDAP]]
</span>
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Client|Client]]
* [[JLDAP/11.1|JLDAP]]
+
* [[API17:JLDAP::rename|Other versions of JLDAP::rename]]
* [[JLDAP::rename|Other versions of this method]]
+
 
{{SeeAlso:JLDAP::rename}}
+
 
===Examples===
+
===User contributed notes===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JLDAP::rename
 
category=JLDAP::rename
category=CodeExample
+
namespace=CodeExample
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JLDAP]][[Category:JLDAP::rename]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

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

Description[edit]

Rename the entry.


public function rename (
        $dn
        $newdn
        $newparent
        $deleteolddn
)
Parameter Type Default Description
$dn string dn The DN of the entry at the moment
$newdn string newdn The DN of the entry should be (only cn=newvalue)
$newparent string newparent The full DN of the parent (null by default)
$deleteolddn bool deleteolddn Delete the old values (default)
  • Returns bool Result of operation
  • Defined on line 376 of libraries/joomla/client/ldap.php

See also[edit]


User contributed notes[edit]

Code Examples[edit]