Ldap/Node/Schema/Item.php

Show: PublicProtectedPrivateinherited
Table of Contents
Zend Framework
LICENSE This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Ldap  
Subpackage
Schema  
Version
$Id$  

\Zend_Ldap_Node_Schema_Item

Package: Zend_Ldap\Schema
Zend_Ldap_Node_Schema_Item provides a base implementation for managing schema items like objectClass and attribute.
Implements
Children
\Zend_Ldap_Node_Schema_ObjectClass_ActiveDirectory
\Zend_Ldap_Node_Schema_ObjectClass_OpenLdap
\Zend_Ldap_Node_Schema_AttributeType_ActiveDirectory
\Zend_Ldap_Node_Schema_AttributeType_OpenLdap
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

>VPropertyprotectedarray $_data
The underlying data
Details
Type
array

Methods

methodpublic__construct(array $data) : void

Constructor.

Parameters
NameTypeDescription
$dataarray
methodpublic__get(string $name) : mixed

Gets a specific attribute from this item

Parameters
NameTypeDescription
$namestring
Returns
TypeDescription
mixed
methodpublic__isset(string $name) : boolean

Checks whether a specific attribute exists.

Parameters
NameTypeDescription
$namestring
Returns
TypeDescription
boolean
methodpubliccount() : int

Returns the number of attributes.

Implements Countable
Returns
TypeDescription
int
methodpublicgetData() : array

Gets the data

Returns
TypeDescription
array
methodpublicoffsetExists(string $name) : boolean

Checks whether a specific attribute exists.

Parameters
NameTypeDescription
$namestring
Returns
TypeDescription
boolean
methodpublicoffsetGet(string $name) : mixed

Gets a specific attribute from this item

Parameters
NameTypeDescription
$namestring
Returns
TypeDescription
mixed
methodpublicoffsetSet(string $name, mixed $value) : null

Always throws BadMethodCallException Implements ArrayAccess.

This method is needed for a full implementation of ArrayAccess
Parameters
NameTypeDescription
$namestring
$valuemixed
Returns
TypeDescription
null
Throws
ExceptionDescription
\BadMethodCallException
methodpublicoffsetUnset(string $name) : null

Always throws BadMethodCallException Implements ArrayAccess.

This method is needed for a full implementation of ArrayAccess
Parameters
NameTypeDescription
$namestring
Returns
TypeDescription
null
Throws
ExceptionDescription
\BadMethodCallException
methodpublicsetData(array $data) : \Zend_Ldap_Node_Schema_Item

Sets the data

Parameters
NameTypeDescription
$dataarray
Returns
TypeDescription
\Zend_Ldap_Node_Schema_ItemProvides a fluid interface
Documentation was generated by phpDocumentor 2.2.0 .