API15:JLDAP/add
From Joomla! Documentation
Description
Add an attribute to the given DN Note: DN has to exist already
[<! removed edit link to red link >]
<! removed transcluded page call, red link never existed >
Syntax
add($dn, $entry)
| Parameter Name | Default Value | Description |
|---|---|---|
| $dn | dn The DN of the entry to add the attribute | |
| $entry | entry An array of arrays with attributes to add |
Returns
bool Result of operation
Defined in
libraries/joomla/client/ldap.php
Importing
jimport( 'joomla.client.ldap' );
Source Body
function add($dn, $entry) {
return @ldap_mod_add($this->_resource, $dn, $entry);
}
[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
Code Examples