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

 Methods

Constructor.

__construct(array $data) 
Inherited

inherited_from \Zend\Ldap\Node\Schema\AbstractItem::__construct()

Parameters

$data

array

Gets a specific attribute from this item

__get(string $name) : mixed
Inherited

inherited_from \Zend\Ldap\Node\Schema\AbstractItem::__get()

Parameters

$name

string

Returns

mixed

Checks whether a specific attribute exists.

__isset(string $name) : bool
Inherited

inherited_from \Zend\Ldap\Node\Schema\AbstractItem::__isset()

Parameters

$name

string

Returns

bool

Returns the number of attributes.

count() : int
Inherited

Implements Countable

inherited_from \Zend\Ldap\Node\Schema\AbstractItem::count()

Returns

int

Gets the data

getData() : array
Inherited

inherited_from \Zend\Ldap\Node\Schema\AbstractItem::getData()

Returns

array

Gets the attribute description

getDescription() : string

Returns

string

Gets the attribute maximum length

getMaxLength() : int | null

Returns

intnull

Gets the attribute name

getName() : string

Returns

string

Gets the attribute OID

getOid() : string

Returns

string

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

getParent() : \Zend\Ldap\Node\Schema\AttributeType\OpenLdap | null

Gets the attribute syntax

getSyntax() : string

Returns

string

Returns if the attribute is single-valued.

isSingleValued() : bool

Returns

bool

Checks whether a specific attribute exists.

offsetExists(string $name) : bool
Inherited

inherited_from \Zend\Ldap\Node\Schema\AbstractItem::offsetExists()

Parameters

$name

string

Returns

bool

Gets a specific attribute from this item

offsetGet(string $name) : mixed
Inherited

inherited_from \Zend\Ldap\Node\Schema\AbstractItem::offsetGet()

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

inherited_from \Zend\Ldap\Node\Schema\AbstractItem::offsetSet()

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

inherited_from \Zend\Ldap\Node\Schema\AbstractItem::offsetUnset()

Parameters

$name

string

Exceptions

\Zend\Ldap\Exception\BadMethodCallException

Sets the data

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

inherited_from \Zend\Ldap\Node\Schema\AbstractItem::setData()

Parameters

$data

array

Returns

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

 Properties

 

The underlying data

$data : array
Inherited

inherited_from \Zend\Ldap\Node\Schema\AbstractItem::$$data