[5146] | 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-2010 Zend Technologies USA Inc. (http://www.zend.com) |
---|
| 19 | * @license http://framework.zend.com/license/new-bsd New BSD License |
---|
| 20 | * @version $Id: Interface.php 20096 2010-01-06 02:05:09Z bkarwin $ |
---|
| 21 | */ |
---|
| 22 | |
---|
| 23 | /** |
---|
| 24 | * Zend_Ldap_Node_Schema_AttributeType_Interface provides a contract for schema attribute-types. |
---|
| 25 | * |
---|
| 26 | * @category Zend |
---|
| 27 | * @package Zend_Ldap |
---|
| 28 | * @subpackage Schema |
---|
| 29 | * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
---|
| 30 | * @license http://framework.zend.com/license/new-bsd New BSD License |
---|
| 31 | */ |
---|
| 32 | interface Zend_Ldap_Node_Schema_AttributeType_Interface |
---|
| 33 | { |
---|
| 34 | /** |
---|
| 35 | * Gets the attribute name |
---|
| 36 | * |
---|
| 37 | * @return string |
---|
| 38 | */ |
---|
| 39 | public function getName(); |
---|
| 40 | |
---|
| 41 | /** |
---|
| 42 | * Gets the attribute OID |
---|
| 43 | * |
---|
| 44 | * @return string |
---|
| 45 | */ |
---|
| 46 | public function getOid(); |
---|
| 47 | |
---|
| 48 | /** |
---|
| 49 | * Gets the attribute syntax |
---|
| 50 | * |
---|
| 51 | * @return string |
---|
| 52 | */ |
---|
| 53 | public function getSyntax(); |
---|
| 54 | |
---|
| 55 | /** |
---|
| 56 | * Gets the attribute maximum length |
---|
| 57 | * |
---|
| 58 | * @return int|null |
---|
| 59 | */ |
---|
| 60 | public function getMaxLength(); |
---|
| 61 | |
---|
| 62 | /** |
---|
| 63 | * Returns if the attribute is single-valued. |
---|
| 64 | * |
---|
| 65 | * @return boolean |
---|
| 66 | */ |
---|
| 67 | public function isSingleValued(); |
---|
| 68 | |
---|
| 69 | /** |
---|
| 70 | * Gets the attribute description |
---|
| 71 | * |
---|
| 72 | * @return string |
---|
| 73 | */ |
---|
| 74 | public function getDescription(); |
---|
| 75 | } |
---|