Actions

API16

JLDAP/add

From Joomla! Documentation

< API16:JLDAP
Revision as of 17:39, 22 March 2010 by Doxiki (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Contents

Description

Add an attribute to the given DN Note: DN has to exist already

[Edit Descripton]

Description:JLDAP/add

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);
}

[Edit See Also] SeeAlso:JLDAP/add

Examples

<CodeExamplesForm />