JLDAP/modify: Difference between revisions
From Joomla! Documentation
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 removing red link to edit, no existant pages |
||
| Line 3: | Line 3: | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[< | <nowiki>[<! removed edit link to red link >]</nowiki> | ||
</span> | </span> | ||
<! removed transcluded page call, red link never existed > | |||
===Syntax=== | ===Syntax=== | ||
| Line 42: | Line 42: | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[< | <nowiki>[<! removed edit link to red link >]</nowiki> | ||
</span> | </span> | ||
<! removed transcluded page call, red link never existed > | |||
===Examples=== | ===Examples=== | ||
| Line 57: | Line 57: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
[[Category:Archived pages API15]] | |||
Revision as of 18:34, 12 May 2013
Description
Modifies an entry and return a true or false result
[<! removed edit link to red link >]
<! 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 edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
<CodeExamplesForm />