API Documentation

Zend/Ldap/Node/Schema/Item.php

Show: inherited
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-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Ldap  
Subpackage
Schema  
Version
$Id: Item.php 24594 2012-01-05 21:27:01Z matthew $  

\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-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

Propertyprotectedarray  $_data= ''

The underlying data

Details
Type
array

Methods

methodpublic__construct( array $data ) : void

Constructor.

Parameters
Name Type Description
$data array
methodpublic__get( string $name ) : mixed

Gets a specific attribute from this item

Parameters
Name Type Description
$name string
Returns
Type Description
mixed
methodpublic__isset( string $name ) : boolean

Checks whether a specific attribute exists.

Parameters
Name Type Description
$name string
Returns
Type Description
boolean
methodpubliccount( ) : int

Returns the number of attributes.

Implements Countable

Returns
Type Description
int
methodpublicgetData( ) : array

Gets the data

Returns
Type Description
array
methodpublicoffsetExists( string $name ) : boolean

Checks whether a specific attribute exists.

Parameters
Name Type Description
$name string
Returns
Type Description
boolean
methodpublicoffsetGet( string $name ) : mixed

Gets a specific attribute from this item

Parameters
Name Type Description
$name string
Returns
Type Description
mixed
methodpublicoffsetSet( string $name, mixed $value ) : null

Always throws BadMethodCallException Implements ArrayAccess.

This method is needed for a full implementation of ArrayAccess

Parameters
Name Type Description
$name string
$value mixed
Returns
Type Description
null
Throws
Exception Description
\BadMethodCallException
methodpublicoffsetUnset( string $name ) : null

Always throws BadMethodCallException Implements ArrayAccess.

This method is needed for a full implementation of ArrayAccess

Parameters
Name Type Description
$name string
Returns
Type Description
null
Throws
Exception Description
\BadMethodCallException
methodpublicsetData( array $data ) : \Zend_Ldap_Node_Schema_Item

Sets the data

Parameters
Name Type Description
$data array
Returns
Type Description
\Zend_Ldap_Node_Schema_Item Provides a fluid interface
Documentation was generated by DocBlox 0.15.1.