API16

JLDAP/modify: Difference between revisions

From Joomla! Documentation

Doxiki (talk | contribs)
New page: ===Description=== Modifies an entry and return a true or false result <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<...
 
m preparing for archive only
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
Modifies an entry and return a true or false result
Modifies an entry and return a true or false result


<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>[[Description:JLDAP/modify|Edit Descripton]]<nowiki>]</nowiki>
</span>


{{Description:JLDAP/modify}}
 
<! removed transcluded page call, red link never existed >


===Syntax===
===Syntax===
Line 41: Line 39:
</source>
</source>


<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JLDAP/modify|Edit See Also]]<nowiki>]</nowiki>
<! removed transcluded page call, red link never existed >
</span>
{{SeeAlso:JLDAP/modify}}


===Examples===
===Examples===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
  noresultsheader=\n
  noresultsheader=\n
  category=modify
  category=modify
  category=JLDAP
  category=JLDAP
  category=CodeExample
  namespace=CodeExample
  category=MethodExample
  category=MethodExample
  include=*
  include=*
  format= ,,,
  format= ,,,
</dpl>
</dpl>
[[Category:Archived pages API16]]

Latest revision as of 01:51, 25 March 2017

Description

Modifies an entry and return a true or false result


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

Syntax

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

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 modify($dn, $attribute) {
        return @ldap_modify($this->_resource, $dn, $attribute);
}


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

Examples

Code Examples