API16

JLDAP/create

From Joomla! Documentation

< API16:JLDAP
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)

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]

Create a new DN


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

Syntax[edit]

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

bool result of operation

Defined in[edit]

libraries/joomla/client/ldap.php

Importing[edit]

jimport( 'joomla.client.ldap' );

Source Body[edit]

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


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

Examples[edit]

Code Examples[edit]