ActiveDirectory.php 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. <?php
  2. /**
  3. * Zend Framework
  4. *
  5. * LICENSE
  6. *
  7. * This source file is subject to the new BSD license that is bundled
  8. * with this package in the file LICENSE.txt.
  9. * It is also available through the world-wide-web at this URL:
  10. * http://framework.zend.com/license/new-bsd
  11. * If you did not receive a copy of the license and are unable to
  12. * obtain it through the world-wide-web, please send an email
  13. * to license@zend.com so we can send you a copy immediately.
  14. *
  15. * @category Zend
  16. * @package Zend_Ldap
  17. * @subpackage Schema
  18. * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
  19. * @license http://framework.zend.com/license/new-bsd New BSD License
  20. * @version $Id$
  21. */
  22. /**
  23. * @see Zend_Ldap_Node_Schema_Item
  24. */
  25. require_once 'Zend/Ldap/Node/Schema/Item.php';
  26. /**
  27. * @see Zend_Ldap_Node_Schema_ObjectClass_Interface
  28. */
  29. require_once 'Zend/Ldap/Node/Schema/ObjectClass/Interface.php';
  30. /**
  31. * Zend_Ldap_Node_Schema_ObjectClass_ActiveDirectory provides access to the objectClass
  32. * schema information on an Active Directory server.
  33. *
  34. * @category Zend
  35. * @package Zend_Ldap
  36. * @subpackage Schema
  37. * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
  38. * @license http://framework.zend.com/license/new-bsd New BSD License
  39. */
  40. class Zend_Ldap_Node_Schema_ObjectClass_ActiveDirectory extends Zend_Ldap_Node_Schema_Item
  41. implements Zend_Ldap_Node_Schema_ObjectClass_Interface
  42. {
  43. /**
  44. * Gets the objectClass name
  45. *
  46. * @return string
  47. */
  48. public function getName()
  49. {
  50. return $this->ldapdisplayname[0];
  51. }
  52. /**
  53. * Gets the objectClass OID
  54. *
  55. * @return string
  56. */
  57. public function getOid()
  58. {
  59. }
  60. /**
  61. * Gets the attributes that this objectClass must contain
  62. *
  63. * @return array
  64. */
  65. public function getMustContain()
  66. {
  67. }
  68. /**
  69. * Gets the attributes that this objectClass may contain
  70. *
  71. * @return array
  72. */
  73. public function getMayContain()
  74. {
  75. }
  76. /**
  77. * Gets the objectClass description
  78. *
  79. * @return string
  80. */
  81. public function getDescription()
  82. {
  83. }
  84. /**
  85. * Gets the objectClass type
  86. *
  87. * @return integer
  88. */
  89. public function getType()
  90. {
  91. }
  92. /**
  93. * Returns the parent objectClasses of this class.
  94. * This includes structural, abstract and auxiliary objectClasses
  95. *
  96. * @return array
  97. */
  98. public function getParentClasses()
  99. {
  100. }
  101. }