Zend_Ldap_Node_Schema_Item provides a base implementation for managing schema items like objectClass and attribute.

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

 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) : boolean

Parameters

$name

string

Returns

boolean

Returns the number of attributes.

count() : integer

Implements Countable

Returns

integer

Gets the data

getData() : array

Returns

array

Checks whether a specific attribute exists.

offsetExists(string $name) : boolean

Parameters

$name

string

Returns

boolean

Gets a specific attribute from this item

offsetGet(string $name) : mixed

Parameters

$name

string

Returns

mixed

Always throws BadMethodCallException Implements ArrayAccess.

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

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

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

Parameters

$data

array

Returns

\Zend_Ldap_Node_Schema_ItemProvides a fluent interface

 Properties

 

The underlying data

$_data : array

Default