Zend_Ldap_Node_Schema_AttributeType_OpenLdap provides access to the attribute type schema information on an OpenLDAP server.

category Zend
package Zend_Ldap
subpackage Schema
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License
inherited_from \Zend_Ldap_Node_Schema_Item

 Methods

Constructor.

__construct(array $data) 
Inherited

Parameters

$data

array

Gets a specific attribute from this item

__get(string $name) : mixed
Inherited

Parameters

$name

string

Returns

mixed

Checks whether a specific attribute exists.

__isset(string $name) : boolean
Inherited

Parameters

$name

string

Returns

boolean

Returns the number of attributes.

count() : integer
Inherited

Implements Countable

Returns

integer

Gets the data

getData() : array
Inherited

Returns

array

Gets the attribute description

getDescription() : string
inherited_from \Zend_Ldap_Node_Schema_AttributeType_Interface::getDescription()

Returns

string

Gets the attribute maximum length

getMaxLength() : integer | null
inherited_from \Zend_Ldap_Node_Schema_AttributeType_Interface::getMaxLength()

Returns

integernull

Gets the attribute name

getName() : string
inherited_from \Zend_Ldap_Node_Schema_AttributeType_Interface::getName()

Returns

string

Gets the attribute OID

getOid() : string
inherited_from \Zend_Ldap_Node_Schema_AttributeType_Interface::getOid()

Returns

string

Returns the parent attribute type in the inhertitance tree if one exists

getParent() : \Zend_Ldap_Node_Schema_AttributeType_OpenLdap | null

Returns

\Zend_Ldap_Node_Schema_AttributeType_OpenLdapnull

Gets the attribute syntax

getSyntax() : string
inherited_from \Zend_Ldap_Node_Schema_AttributeType_Interface::getSyntax()

Returns

string

Returns if the attribute is single-valued.

isSingleValued() : boolean
inherited_from \Zend_Ldap_Node_Schema_AttributeType_Interface::isSingleValued()

Returns

boolean

Checks whether a specific attribute exists.

offsetExists(string $name) : boolean
Inherited

Parameters

$name

string

Returns

boolean

Gets a specific attribute from this item

offsetGet(string $name) : mixed
Inherited

Parameters

$name

string

Returns

mixed

Always throws BadMethodCallException Implements ArrayAccess.

offsetSet(string $name, mixed $value) : null
Inherited

This method is needed for a full implementation of ArrayAccess

Parameters

$name

string

$value

mixed

Exceptions

\BadMethodCallException

Returns

null

Always throws BadMethodCallException Implements ArrayAccess.

offsetUnset(string $name) : null
Inherited

This method is needed for a full implementation of ArrayAccess

Parameters

$name

string

Exceptions

\BadMethodCallException

Returns

null

Sets the data

setData(array $data) : \Zend_Ldap_Node_Schema_Item
Inherited

Parameters

$data

array

Returns

\Zend_Ldap_Node_Schema_ItemProvides a fluent interface

 Properties

 

The underlying data

$_data : array

Default