File indexing completed on 2025-01-26 05:29:38
0001 <?php 0002 /** 0003 * Zend Framework 0004 * 0005 * LICENSE 0006 * 0007 * This source file is subject to the new BSD license that is bundled 0008 * with this package in the file LICENSE.txt. 0009 * It is also available through the world-wide-web at this URL: 0010 * http://framework.zend.com/license/new-bsd 0011 * If you did not receive a copy of the license and are unable to 0012 * obtain it through the world-wide-web, please send an email 0013 * to license@zend.com so we can send you a copy immediately. 0014 * 0015 * @category Zend 0016 * @package Zend_Ldap 0017 * @subpackage RootDSE 0018 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) 0019 * @license http://framework.zend.com/license/new-bsd New BSD License 0020 * @version $Id$ 0021 */ 0022 0023 /** 0024 * @see Zend_Ldap_Node_RootDse 0025 */ 0026 // require_once 'Zend/Ldap/Node/RootDse.php'; 0027 0028 /** 0029 * Zend_Ldap_Node_RootDse provides a simple data-container for the RootDSE node of 0030 * a Novell eDirectory server. 0031 * 0032 * @category Zend 0033 * @package Zend_Ldap 0034 * @subpackage RootDSE 0035 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) 0036 * @license http://framework.zend.com/license/new-bsd New BSD License 0037 */ 0038 class Zend_Ldap_Node_RootDse_eDirectory extends Zend_Ldap_Node_RootDse 0039 { 0040 /** 0041 * Determines if the extension is supported 0042 * 0043 * @param string|array $oids oid(s) to check 0044 * @return boolean 0045 */ 0046 public function supportsExtension($oids) 0047 { 0048 return $this->attributeHasValue('supportedExtension', $oids); 0049 } 0050 0051 /** 0052 * Gets the vendorName. 0053 * 0054 * @return string|null 0055 */ 0056 public function getVendorName() 0057 { 0058 return $this->getAttribute('vendorName', 0); 0059 } 0060 0061 /** 0062 * Gets the vendorVersion. 0063 * 0064 * @return string|null 0065 */ 0066 public function getVendorVersion() 0067 { 0068 return $this->getAttribute('vendorVersion', 0); 0069 } 0070 0071 /** 0072 * Gets the dsaName. 0073 * 0074 * @return string|null 0075 */ 0076 public function getDsaName() 0077 { 0078 return $this->getAttribute('dsaName', 0); 0079 } 0080 0081 /** 0082 * Gets the server statistics "errors". 0083 * 0084 * @return string|null 0085 */ 0086 public function getStatisticsErrors() 0087 { 0088 return $this->getAttribute('errors', 0); 0089 } 0090 0091 /** 0092 * Gets the server statistics "securityErrors". 0093 * 0094 * @return string|null 0095 */ 0096 public function getStatisticsSecurityErrors() 0097 { 0098 return $this->getAttribute('securityErrors', 0); 0099 } 0100 0101 /** 0102 * Gets the server statistics "chainings". 0103 * 0104 * @return string|null 0105 */ 0106 public function getStatisticsChainings() 0107 { 0108 return $this->getAttribute('chainings', 0); 0109 } 0110 0111 /** 0112 * Gets the server statistics "referralsReturned". 0113 * 0114 * @return string|null 0115 */ 0116 public function getStatisticsReferralsReturned() 0117 { 0118 return $this->getAttribute('referralsReturned', 0); 0119 } 0120 0121 /** 0122 * Gets the server statistics "extendedOps". 0123 * 0124 * @return string|null 0125 */ 0126 public function getStatisticsExtendedOps() 0127 { 0128 return $this->getAttribute('extendedOps', 0); 0129 } 0130 0131 /** 0132 * Gets the server statistics "abandonOps". 0133 * 0134 * @return string|null 0135 */ 0136 public function getStatisticsAbandonOps() 0137 { 0138 return $this->getAttribute('abandonOps', 0); 0139 } 0140 0141 /** 0142 * Gets the server statistics "wholeSubtreeSearchOps". 0143 * 0144 * @return string|null 0145 */ 0146 public function getStatisticsWholeSubtreeSearchOps() 0147 { 0148 return $this->getAttribute('wholeSubtreeSearchOps', 0); 0149 } 0150 0151 /** 0152 * Gets the server type 0153 * 0154 * @return int 0155 */ 0156 public function getServerType() 0157 { 0158 return self::SERVER_TYPE_EDIRECTORY; 0159 } 0160 }