API Documentation

Ldap/Node/RootDse.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Ldap
subpackage
RootDSE
version
$Id: RootDse.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Ldap_Node_RootDse

Description

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

Zend_Ldap_Node_RootDse

Extends from
Zend_Ldap_Node_Abstract
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Ldap
subpackage
RootDSE
Constants
SERVER_TYPE_GENERIC
SERVER_TYPE_OPENLDAP
SERVER_TYPE_ACTIVEDIRECTORY
SERVER_TYPE_EDIRECTORY
Methods
create
__construct
getNamingContexts
getSubschemaSubentry
supportsVersion
supportsSaslMechanism
getServerType
getSchemaDn

Description

Zend_Ldap_Node_RootDse provides a simple data-container for the RootDSE node.

Constants

SERVER_TYPE_GENERIC

 SERVER_TYPE_GENERIC = '1'

Details

value
1

SERVER_TYPE_OPENLDAP

 SERVER_TYPE_OPENLDAP = '2'

Details

value
2

SERVER_TYPE_ACTIVEDIRECTORY

 SERVER_TYPE_ACTIVEDIRECTORY = '3'

Details

value
3

SERVER_TYPE_EDIRECTORY

 SERVER_TYPE_EDIRECTORY = '4'

Details

value
4

Methods

__construct

__construct( Zend_Ldap_Dn $dn, array $data ) :

Constructor.

Constructor is protected to enforce the use of factory methods.

Arguments
$dn
Zend_Ldap_Dn
$data
array
Details
visibility
protected
final
false
static
false

create

create( Zend_Ldap $ldap ) : Zend_Ldap_Node_RootDse

Factory method to create the RootDSE.

Arguments
$ldap
Zend_Ldap
Details
visibility
public
final
false
static
true
throws

getNamingContexts

getNamingContexts( ) : array

Gets the namingContexts.

Output
array
Details
visibility
public
final
false
static
false

getSchemaDn

getSchemaDn( ) : Zend_Ldap_Dn

Returns the schema DN

Output
Zend_Ldap_Dn
Details
visibility
public
final
false
static
false

getServerType

getServerType( ) : int

Gets the server type

Output
int
Details
visibility
public
final
false
static
false

getSubschemaSubentry

getSubschemaSubentry( ) : string|null

Gets the subschemaSubentry.

Output
string|null
Details
visibility
public
final
false
static
false

supportsSaslMechanism

supportsSaslMechanism( string|array $mechlist ) : boolean

Determines if the sasl mechanism is supported

Arguments
$mechlist
stringarray
SASL mechanisms to check
Output
boolean
Details
visibility
public
final
false
static
false

supportsVersion

supportsVersion( string|int|array $versions ) : boolean

Determines if the version is supported

Arguments
$versions
stringintarray
version(s) to check
Output
boolean
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.