Ldap/Node/RootDse.php

Show: PublicProtectedPrivateinherited
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-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Ldap  
Subpackage
RootDSE  
Version
$Id$  

\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-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Constants

>VConstant  SERVER_TYPE_GENERIC = 1
>VConstant  SERVER_TYPE_OPENLDAP = 2
>VConstant  SERVER_TYPE_ACTIVEDIRECTORY = 3
>VConstant  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
NameTypeDescription
$dn\Zend_Ldap_Dn
$dataarray
methodpubliccreate(\Zend_Ldap $ldap) : \Zend_Ldap_Node_RootDse
static

Factory method to create the RootDSE.

Parameters
NameTypeDescription
$ldap\Zend_Ldap
Returns
TypeDescription
\Zend_Ldap_Node_RootDse
Throws
ExceptionDescription
\Zend_Ldap_Exception
methodpublicgetNamingContexts() : array

Gets the namingContexts.

Returns
TypeDescription
array
methodpublicgetSchemaDn() : \Zend_Ldap_Dn

Returns the schema DN

Returns
TypeDescription
\Zend_Ldap_Dn
methodpublicgetServerType() : int

Gets the server type

Returns
TypeDescription
int
methodpublicgetSubschemaSubentry() : string | null

Gets the subschemaSubentry.

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

Determines if the sasl mechanism is supported

Parameters
NameTypeDescription
$mechliststring | array

SASL mechanisms to check

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

Determines if the version is supported

Parameters
NameTypeDescription
$versionsstring | int | array

version(s) to check

Returns
TypeDescription
boolean
Documentation was generated by phpDocumentor 2.2.0 .