This class provides a base implementation for managing schema items like objectClass and attributeType.

category Zend
package Zend_Ldap
subpackage Schema

 Methods

Constructor.

__construct(array $data) 

Parameters

$data

array

Gets a specific attribute from this item

__get(string $name) : mixed

Parameters

$name

string

Returns

mixed

Checks whether a specific attribute exists.

__isset(string $name) : bool

Parameters

$name

string

Returns

bool

Returns the number of attributes.

count() : int

Implements Countable

Returns

int

Gets the data

getData() : array

Returns

array

Checks whether a specific attribute exists.

offsetExists(string $name) : bool

Parameters

$name

string

Returns

bool

Gets a specific attribute from this item

offsetGet(string $name) : mixed

Parameters

$name

string

Returns

mixed

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

offsetSet(string $name, mixed $value) 

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) 

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

Parameters

$data

array

Returns

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

 Properties

 

The underlying data

$data : array