API16

API16:JLDAP/create

From Joomla! Documentation

Revision as of 01:51, 25 March 2017 by JoomlaWikiBot (talk | contribs) (preparing for archive only)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

Create a new DN


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

Syntax

create($dn, $entries)
Parameter Name Default Value Description
$dn dn The DN where you want to put the object
$entries entries An array of arrays describing the object to add

Returns

bool result of operation

Defined in

libraries/joomla/client/ldap.php

Importing

jimport( 'joomla.client.ldap' );

Source Body

function create($dn, $entries) {
        return @ldap_add($this->_resource, $dn, $entries);
}


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

Examples

Code Examples