import v2.0.0.0_RC3 | 2012-07-01
https://github.com/lucanos/CommunityID -> http://www.itadmins.net/archives/357
This commit is contained in:
@ -1,23 +1,23 @@
|
||||
<?php
|
||||
/**
|
||||
* 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
|
||||
<?php
|
||||
/**
|
||||
* 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
|
||||
* @package Zend_Ldap
|
||||
* @subpackage Node
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: Abstract.php 13235 2008-12-14 16:27:27Z sgehrig $
|
||||
* @subpackage Node
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: Abstract.php 17829 2009-08-26 15:07:10Z sgehrig $
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -27,19 +27,19 @@ require_once 'Zend/Ldap/Attribute.php';
|
||||
/**
|
||||
* @see Zend_Ldap_Dn
|
||||
*/
|
||||
require_once 'Zend/Ldap/Dn.php';
|
||||
|
||||
/**
|
||||
* Zend_Ldap_Node_Abstract provides a bas eimplementation for LDAP nodes
|
||||
*
|
||||
* @category Zend
|
||||
require_once 'Zend/Ldap/Dn.php';
|
||||
|
||||
/**
|
||||
* Zend_Ldap_Node_Abstract provides a bas eimplementation for LDAP nodes
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Ldap
|
||||
* @subpackage Node
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
abstract class Zend_Ldap_Node_Abstract implements ArrayAccess, Countable
|
||||
{
|
||||
* @subpackage Node
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
abstract class Zend_Ldap_Node_Abstract implements ArrayAccess, Countable
|
||||
{
|
||||
protected static $_systemAttributes=array('createtimestamp', 'creatorsname',
|
||||
'entrycsn', 'entrydn', 'entryuuid', 'hassubordinates', 'modifiersname',
|
||||
'modifytimestamp', 'structuralobjectclass', 'subschemasubentry',
|
||||
@ -66,8 +66,8 @@ abstract class Zend_Ldap_Node_Abstract implements ArrayAccess, Countable
|
||||
* Constructor is protected to enforce the use of factory methods.
|
||||
*
|
||||
* @param Zend_Ldap_Dn $dn
|
||||
* @param array $data
|
||||
* @param boolean $fromDataSource
|
||||
* @param array $data
|
||||
* @param boolean $fromDataSource
|
||||
*/
|
||||
protected function __construct(Zend_Ldap_Dn $dn, array $data, $fromDataSource)
|
||||
{
|
||||
@ -76,7 +76,7 @@ abstract class Zend_Ldap_Node_Abstract implements ArrayAccess, Countable
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $data
|
||||
* @param array $data
|
||||
* @param boolean $fromDataSource
|
||||
* @throws Zend_Ldap_Exception
|
||||
*/
|
||||
@ -95,7 +95,7 @@ abstract class Zend_Ldap_Node_Abstract implements ArrayAccess, Countable
|
||||
* This is an online method.
|
||||
*
|
||||
* @param Zend_Ldap $ldap
|
||||
* @return Zend_Ldap_Node_Abstract *Provides a fluid interface*
|
||||
* @return Zend_Ldap_Node_Abstract Provides a fluid interface
|
||||
* @throws Zend_Ldap_Exception
|
||||
*/
|
||||
public function reload(Zend_Ldap $ldap = null)
|
||||
@ -202,7 +202,7 @@ abstract class Zend_Ldap_Node_Abstract implements ArrayAccess, Countable
|
||||
*
|
||||
* This is an offline method.
|
||||
*
|
||||
* @param boolean $includeSystemAttributes
|
||||
* @param boolean $includeSystemAttributes
|
||||
* @return array
|
||||
*/
|
||||
public function getAttributes($includeSystemAttributes = true)
|
||||
@ -237,7 +237,7 @@ abstract class Zend_Ldap_Node_Abstract implements ArrayAccess, Countable
|
||||
/**
|
||||
* Returns an array representation of the current node
|
||||
*
|
||||
* @param boolean $includeSystemAttributes
|
||||
* @param boolean $includeSystemAttributes
|
||||
* @return array
|
||||
*/
|
||||
public function toArray($includeSystemAttributes = true)
|
||||
@ -249,7 +249,7 @@ abstract class Zend_Ldap_Node_Abstract implements ArrayAccess, Countable
|
||||
/**
|
||||
* Returns a JSON representation of the current node
|
||||
*
|
||||
* @param boolean $includeSystemAttributes
|
||||
* @param boolean $includeSystemAttributes
|
||||
* @return string
|
||||
*/
|
||||
public function toJson($includeSystemAttributes = true)
|
||||
@ -264,7 +264,7 @@ abstract class Zend_Ldap_Node_Abstract implements ArrayAccess, Countable
|
||||
*
|
||||
* This is an offline method.
|
||||
*
|
||||
* @param boolean $includeSystemAttributes
|
||||
* @param boolean $includeSystemAttributes
|
||||
* @return array
|
||||
*/
|
||||
public function getData($includeSystemAttributes = true)
|
||||
@ -291,7 +291,7 @@ abstract class Zend_Ldap_Node_Abstract implements ArrayAccess, Countable
|
||||
* true. In this case method returns false only if the attribute name is
|
||||
* missing in the key-collection.
|
||||
*
|
||||
* @param string $name
|
||||
* @param string $name
|
||||
* @param boolean $emptyExists
|
||||
* @return boolean
|
||||
*/
|
||||
@ -308,8 +308,8 @@ abstract class Zend_Ldap_Node_Abstract implements ArrayAccess, Countable
|
||||
/**
|
||||
* Checks if the given value(s) exist in the attribute
|
||||
*
|
||||
* @param string $attribName
|
||||
* @param mixed|array $value
|
||||
* @param string $attribName
|
||||
* @param mixed|array $value
|
||||
* @return boolean
|
||||
*/
|
||||
public function attributeHasValue($attribName, $value)
|
||||
@ -322,7 +322,7 @@ abstract class Zend_Ldap_Node_Abstract implements ArrayAccess, Countable
|
||||
*
|
||||
* This is an offline method.
|
||||
*
|
||||
* @param string $name
|
||||
* @param string $name
|
||||
* @param integer $index
|
||||
* @return mixed
|
||||
* @throws Zend_Ldap_Exception
|
||||
@ -342,7 +342,7 @@ abstract class Zend_Ldap_Node_Abstract implements ArrayAccess, Countable
|
||||
*
|
||||
* This is an offline method.
|
||||
*
|
||||
* @param string $name
|
||||
* @param string $name
|
||||
* @param integer $index
|
||||
* @return array|integer
|
||||
* @throws Zend_Ldap_Exception
|
||||
@ -358,7 +358,7 @@ abstract class Zend_Ldap_Node_Abstract implements ArrayAccess, Countable
|
||||
* This is an offline method.
|
||||
*
|
||||
* @param string $name
|
||||
* @param mixed $value
|
||||
* @param mixed $value
|
||||
* @return null
|
||||
* @throws BadMethodCallException
|
||||
*/
|
||||
@ -417,7 +417,7 @@ abstract class Zend_Ldap_Node_Abstract implements ArrayAccess, Countable
|
||||
* This is an offline method.
|
||||
*
|
||||
* @param string $name
|
||||
* @param mixed $value
|
||||
* @param mixed $value
|
||||
* @return null
|
||||
* @throws BadMethodCallException
|
||||
*/
|
||||
@ -481,5 +481,5 @@ abstract class Zend_Ldap_Node_Abstract implements ArrayAccess, Countable
|
||||
public function count()
|
||||
{
|
||||
return count($this->_currentData);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user