7
* This source file is subject to the new BSD license that is bundled
8
* with this package in the file LICENSE.txt.
9
* It is also available through the world-wide-web at this URL:
10
* http://framework.zend.com/license/new-bsd
11
* If you did not receive a copy of the license and are unable to
12
* obtain it through the world-wide-web, please send an email
13
* to license@zend.com so we can send you a copy immediately.
18
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
19
* @license http://framework.zend.com/license/new-bsd New BSD License
20
* @version $Id: OpenLdap.php 13449 2008-12-23 17:49:44Z sgehrig $
24
* @see Zend_Ldap_Node_RootDse
26
require_once 'Zend/Ldap/Node/RootDse.php';
29
* Zend_Ldap_Node_RootDse provides a simple data-container for the RootDSE node of
35
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
36
* @license http://framework.zend.com/license/new-bsd New BSD License
38
class Zend_Ldap_Node_RootDse_OpenLdap extends Zend_Ldap_Node_RootDse
41
* Gets the configContext.
45
public function getConfigContext()
47
return $this->getAttribute('configContext', 0);
51
* Gets the monitorContext.
55
public function getMonitorContext()
57
return $this->getAttribute('monitorContext', 0);
61
* Determines if the control is supported
63
* @param string|array $oids control oid(s) to check
66
public function supportsControl($oids)
68
return $this->attributeHasValue('supportedControl', $oids);
72
* Determines if the extension is supported
74
* @param string|array $oids oid(s) to check
77
public function supportsExtension($oids)
79
return $this->attributeHasValue('supportedExtension', $oids);
83
* Determines if the feature is supported
85
* @param string|array $oids feature oid(s) to check
88
public function supportsFeature($oids)
90
return $this->attributeHasValue('supportedFeatures', $oids);
94
* Gets the server type
98
public function getServerType()
100
return self::SERVER_TYPE_OPENLDAP;
b'\\ No newline at end of file'