Added the zend framework 2 library, the path is specified in line no.26 in zend_modul...
[openemr.git] / interface / modules / zend_modules / library / Zend / Ldap / Node / RootDse / eDirectory.php
blob6842265db2cd0cc3658cbcd64d7aa99c558081ea
1 <?php
2 /**
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
8 */
10 namespace Zend\Ldap\Node\RootDse;
12 use Zend\Ldap\Node;
14 /**
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
20 /**
21 * Determines if the extension is supported
23 * @param string|array $oids oid(s) to check
24 * @return bool
26 public function supportsExtension($oids)
28 return $this->attributeHasValue('supportedExtension', $oids);
31 /**
32 * Gets the vendorName.
34 * @return string|null
36 public function getVendorName()
38 return $this->getAttribute('vendorName', 0);
41 /**
42 * Gets the vendorVersion.
44 * @return string|null
46 public function getVendorVersion()
48 return $this->getAttribute('vendorVersion', 0);
51 /**
52 * Gets the dsaName.
54 * @return string|null
56 public function getDsaName()
58 return $this->getAttribute('dsaName', 0);
61 /**
62 * Gets the server statistics "errors".
64 * @return string|null
66 public function getStatisticsErrors()
68 return $this->getAttribute('errors', 0);
71 /**
72 * Gets the server statistics "securityErrors".
74 * @return string|null
76 public function getStatisticsSecurityErrors()
78 return $this->getAttribute('securityErrors', 0);
81 /**
82 * Gets the server statistics "chainings".
84 * @return string|null
86 public function getStatisticsChainings()
88 return $this->getAttribute('chainings', 0);
91 /**
92 * Gets the server statistics "referralsReturned".
94 * @return string|null
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
134 * @return int
136 public function getServerType()
138 return self::SERVER_TYPE_EDIRECTORY;