API16

JLDAP/add

From Joomla! Documentation

< API16:JLDAP
Revision as of 22:04, 13 May 2013 by JoomlaWikiBot (talk | contribs) (removing red link to edit, no existant pages)

The "API16" 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.

Description[edit]

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

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

bool Result of operation

Defined in[edit]

libraries/joomla/client/ldap.php

Importing[edit]

jimport( 'joomla.client.ldap' );

Source Body[edit]

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

<CodeExamplesForm />