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 * Zend_Ldap_Node_Schema_ObjectClass_Interface provides a contract for schema objectClasses. 0025 * 0026 * @category Zend 0027 * @package Zend_Ldap 0028 * @subpackage Schema 0029 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) 0030 * @license http://framework.zend.com/license/new-bsd New BSD License 0031 */ 0032 interface Zend_Ldap_Node_Schema_ObjectClass_Interface 0033 { 0034 /** 0035 * Gets the objectClass name 0036 * 0037 * @return string 0038 */ 0039 public function getName(); 0040 0041 /** 0042 * Gets the objectClass OID 0043 * 0044 * @return string 0045 */ 0046 public function getOid(); 0047 0048 /** 0049 * Gets the attributes that this objectClass must contain 0050 * 0051 * @return array 0052 */ 0053 public function getMustContain(); 0054 0055 /** 0056 * Gets the attributes that this objectClass may contain 0057 * 0058 * @return array 0059 */ 0060 public function getMayContain(); 0061 0062 /** 0063 * Gets the objectClass description 0064 * 0065 * @return string 0066 */ 0067 public function getDescription(); 0068 0069 /** 0070 * Gets the objectClass type 0071 * 0072 * @return integer 0073 */ 0074 public function getType(); 0075 0076 /** 0077 * Returns the parent objectClasses of this class. 0078 * This includes structural, abstract and auxiliary objectClasses 0079 * 0080 * @return array 0081 */ 0082 public function getParentClasses(); 0083 }