Zend\Ldap\Node\Schema\AttributeType\OpenLdap provides access to the attribute type schema information on an OpenLDAP server.

package Default
inherited_from \Zend\Ldap\Node\Schema\AbstractItem

 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\AttributeTypeInterface::getDescription()

Returns

string

Gets the attribute maximum length

getMaxLength() : integer | null
inherited_from \Zend\Ldap\Node\Schema\AttributeType\AttributeTypeInterface::getMaxLength()

Returns

integernull

Gets the attribute name

getName() : string
inherited_from \Zend\Ldap\Node\Schema\AttributeType\AttributeTypeInterface::getName()

Returns

string

Gets the attribute OID

getOid() : string
inherited_from \Zend\Ldap\Node\Schema\AttributeType\AttributeTypeInterface::getOid()

Returns

string

Returns the parent attribute type in the inheritance 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\AttributeTypeInterface::getSyntax()

Returns

string

Returns if the attribute is single-valued.

isSingleValued() : boolean
inherited_from \Zend\Ldap\Node\Schema\AttributeType\AttributeTypeInterface::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 Zend\Ldap\Exception\BadMethodCallException Implements ArrayAccess.

offsetSet(string $name, mixed $value) 
Inherited

This method is needed for a full implementation of ArrayAccess

Parameters

$name

string

$value

mixed

Exceptions

\Zend\Ldap\Exception\BadMethodCallException

Always throws Zend\Ldap\Exception\BadMethodCallException Implements ArrayAccess.

offsetUnset(string $name) 
Inherited

This method is needed for a full implementation of ArrayAccess

Parameters

$name

string

Exceptions

\Zend\Ldap\Exception\BadMethodCallException

Sets the data

setData(array $data) : \Zend\Ldap\Node\Schema\AbstractItem
Inherited

Parameters

$data

array

Returns

\Zend\Ldap\Node\Schema\AbstractItemProvides a fluid interface

 Properties

 

The underlying data

$data : array

Default