API16

API16:JLDAP/create

From Joomla! Documentation

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