API Documentation

Zend/Ldap/Node/RootDse.php

Show: inherited
Table of Contents

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.

Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Ldap  
Subpackage
RootDSE  
Version
$Id: RootDse.php 24594 2012-01-05 21:27:01Z matthew $  

\Zend_Ldap_Node_RootDse

Package: Zend\Ldap\RootDSE

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

Parent(s)
\Zend_Ldap_Node_Abstract
Children
\Zend_Ldap_Node_RootDse_ActiveDirectory
\Zend_Ldap_Node_RootDse_eDirectory
\Zend_Ldap_Node_RootDse_OpenLdap
Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Constants

Constant  SERVER_TYPE_GENERIC = 1
Constant  SERVER_TYPE_OPENLDAP = 2
Constant  SERVER_TYPE_ACTIVEDIRECTORY = 3
Constant  SERVER_TYPE_EDIRECTORY = 4

Methods

methodprotected__construct( \Zend_Ldap_Dn $dn, array $data ) : void

Constructor.

Constructor is protected to enforce the use of factory methods.

Parameters
Name Type Description
$dn \Zend_Ldap_Dn
$data array
methodpubliccreate( \Zend_Ldap $ldap ) : \Zend_Ldap_Node_RootDse
static

Factory method to create the RootDSE.

Parameters
Name Type Description
$ldap \Zend_Ldap
Returns
Type Description
\Zend_Ldap_Node_RootDse
Throws
Exception Description
\Zend_Ldap_Exception
methodpublicgetNamingContexts( ) : array

Gets the namingContexts.

Returns
Type Description
array
methodpublicgetSchemaDn( ) : \Zend_Ldap_Dn

Returns the schema DN

Returns
Type Description
\Zend_Ldap_Dn
methodpublicgetServerType( ) : int

Gets the server type

Returns
Type Description
int
methodpublicgetSubschemaSubentry( ) : string|null

Gets the subschemaSubentry.

Returns
Type Description
string|null
methodpublicsupportsSaslMechanism( string|array $mechlist ) : boolean

Determines if the sasl mechanism is supported

Parameters
Name Type Description
$mechlist string|array

SASL mechanisms to check

Returns
Type Description
boolean
methodpublicsupportsVersion( string|int|array $versions ) : boolean

Determines if the version is supported

Parameters
Name Type Description
$versions string|int|array

version(s) to check

Returns
Type Description
boolean
Documentation was generated by DocBlox 0.15.1.