3 * Zend Framework (http://framework.zend.com/)
5 * @link http://github.com/zendframework/zf2 for the canonical source repository
6 * @copyright Copyright (c) 2005-2013 Zend Technologies USA Inc. (http://www.zend.com)
7 * @license http://framework.zend.com/license/new-bsd New BSD License
10 namespace Zend\Ldap\Node\RootDse
;
15 * Zend\Ldap\Node\RootDse\eDirectory provides a simple data-container for the
16 * RootDse node of a Novell eDirectory server.
18 class eDirectory
extends Node\RootDse
21 * Determines if the extension is supported
23 * @param string|array $oids oid(s) to check
26 public function supportsExtension($oids)
28 return $this->attributeHasValue('supportedExtension', $oids);
32 * Gets the vendorName.
36 public function getVendorName()
38 return $this->getAttribute('vendorName', 0);
42 * Gets the vendorVersion.
46 public function getVendorVersion()
48 return $this->getAttribute('vendorVersion', 0);
56 public function getDsaName()
58 return $this->getAttribute('dsaName', 0);
62 * Gets the server statistics "errors".
66 public function getStatisticsErrors()
68 return $this->getAttribute('errors', 0);
72 * Gets the server statistics "securityErrors".
76 public function getStatisticsSecurityErrors()
78 return $this->getAttribute('securityErrors', 0);
82 * Gets the server statistics "chainings".
86 public function getStatisticsChainings()
88 return $this->getAttribute('chainings', 0);
92 * Gets the server statistics "referralsReturned".
96 public function getStatisticsReferralsReturned()
98 return $this->getAttribute('referralsReturned', 0);
102 * Gets the server statistics "extendedOps".
104 * @return string|null
106 public function getStatisticsExtendedOps()
108 return $this->getAttribute('extendedOps', 0);
112 * Gets the server statistics "abandonOps".
114 * @return string|null
116 public function getStatisticsAbandonOps()
118 return $this->getAttribute('abandonOps', 0);
122 * Gets the server statistics "wholeSubtreeSearchOps".
124 * @return string|null
126 public function getStatisticsWholeSubtreeSearchOps()
128 return $this->getAttribute('wholeSubtreeSearchOps', 0);
132 * Gets the server type
136 public function getServerType()
138 return self
::SERVER_TYPE_EDIRECTORY
;