File indexing completed on 2025-01-12 05:22:08
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 Schema 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_Schema_Item 0025 */ 0026 // require_once 'Zend/Ldap/Node/Schema/Item.php'; 0027 /** 0028 * @see Zend_Ldap_Node_Schema_ObjectClass_Interface 0029 */ 0030 // require_once 'Zend/Ldap/Node/Schema/ObjectClass/Interface.php'; 0031 0032 /** 0033 * Zend_Ldap_Node_Schema_ObjectClass_ActiveDirectory provides access to the objectClass 0034 * schema information on an Active Directory server. 0035 * 0036 * @category Zend 0037 * @package Zend_Ldap 0038 * @subpackage Schema 0039 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) 0040 * @license http://framework.zend.com/license/new-bsd New BSD License 0041 */ 0042 class Zend_Ldap_Node_Schema_ObjectClass_ActiveDirectory extends Zend_Ldap_Node_Schema_Item 0043 implements Zend_Ldap_Node_Schema_ObjectClass_Interface 0044 { 0045 /** 0046 * Gets the objectClass name 0047 * 0048 * @return string 0049 */ 0050 public function getName() 0051 { 0052 return $this->ldapdisplayname[0]; 0053 } 0054 0055 /** 0056 * Gets the objectClass OID 0057 * 0058 * @return string 0059 */ 0060 public function getOid() 0061 { 0062 0063 } 0064 0065 /** 0066 * Gets the attributes that this objectClass must contain 0067 * 0068 * @return array 0069 */ 0070 public function getMustContain() 0071 { 0072 0073 } 0074 0075 /** 0076 * Gets the attributes that this objectClass may contain 0077 * 0078 * @return array 0079 */ 0080 public function getMayContain() 0081 { 0082 0083 } 0084 0085 /** 0086 * Gets the objectClass description 0087 * 0088 * @return string 0089 */ 0090 public function getDescription() 0091 { 0092 0093 } 0094 0095 /** 0096 * Gets the objectClass type 0097 * 0098 * @return integer 0099 */ 0100 public function getType() 0101 { 0102 0103 } 0104 0105 /** 0106 * Returns the parent objectClasses of this class. 0107 * This includes structural, abstract and auxiliary objectClasses 0108 * 0109 * @return array 0110 */ 0111 public function getParentClasses() 0112 { 0113 0114 } 0115 }