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);
|
||||
}
|
||||
}
|
||||
}
|
@ -17,7 +17,7 @@
|
||||
* @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: ChildrenIterator.php 13152 2008-12-11 11:28:02Z sgehrig $
|
||||
* @version $Id: ChildrenIterator.php 17829 2009-08-26 15:07:10Z sgehrig $
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -46,7 +46,7 @@ class Zend_Ldap_Node_ChildrenIterator implements Iterator, Countable, RecursiveI
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $data
|
||||
* @param array $data
|
||||
* @return void
|
||||
*/
|
||||
public function __construct(array $data)
|
||||
|
@ -1,46 +1,46 @@
|
||||
<?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: Collection.php 13089 2008-12-07 14:00:24Z sgehrig $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Ldap_Collection
|
||||
*/
|
||||
require_once 'Zend/Ldap/Collection.php';
|
||||
|
||||
|
||||
/**
|
||||
* Zend_Ldap_Node_Collection provides a collecion of nodes.
|
||||
*
|
||||
* @category Zend
|
||||
* @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: Collection.php 17829 2009-08-26 15:07:10Z sgehrig $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Ldap_Collection
|
||||
*/
|
||||
require_once 'Zend/Ldap/Collection.php';
|
||||
|
||||
|
||||
/**
|
||||
* Zend_Ldap_Node_Collection provides a collecion of 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
|
||||
*/
|
||||
class Zend_Ldap_Node_Collection extends Zend_Ldap_Collection
|
||||
{
|
||||
* @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
|
||||
*/
|
||||
class Zend_Ldap_Node_Collection extends Zend_Ldap_Collection
|
||||
{
|
||||
/**
|
||||
* Creates the data structure for the given entry data
|
||||
*
|
||||
* @param array $data
|
||||
* @param array $data
|
||||
* @return Zend_Ldap_Node
|
||||
*/
|
||||
protected function _createEntry(array $data)
|
||||
@ -52,16 +52,16 @@ class Zend_Ldap_Node_Collection extends Zend_Ldap_Collection
|
||||
$node = Zend_Ldap_Node::fromArray($data, true);
|
||||
$node->attachLdap($this->_iterator->getLdap());
|
||||
return $node;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the child key (DN).
|
||||
* Implements Iterator and RecursiveIterator
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function key()
|
||||
{
|
||||
return $this->_iterator->key();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the child key (DN).
|
||||
* Implements Iterator and RecursiveIterator
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function key()
|
||||
{
|
||||
return $this->_iterator->key();
|
||||
}
|
||||
}
|
@ -1,46 +1,46 @@
|
||||
<?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 RootDSE
|
||||
* @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: RootDse.php 13449 2008-12-23 17:49:44Z sgehrig $
|
||||
* @subpackage RootDSE
|
||||
* @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: RootDse.php 17829 2009-08-26 15:07:10Z sgehrig $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Ldap_Node_Abstract
|
||||
*/
|
||||
require_once 'Zend/Ldap/Node/Abstract.php';
|
||||
|
||||
/**
|
||||
* Zend_Ldap_Node_RootDse provides a simple data-container for the RootDSE node.
|
||||
*
|
||||
* @category Zend
|
||||
require_once 'Zend/Ldap/Node/Abstract.php';
|
||||
|
||||
/**
|
||||
* Zend_Ldap_Node_RootDse provides a simple data-container for the RootDSE node.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Ldap
|
||||
* @subpackage RootDSE
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Ldap_Node_RootDse extends Zend_Ldap_Node_Abstract
|
||||
* @subpackage RootDSE
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Ldap_Node_RootDse extends Zend_Ldap_Node_Abstract
|
||||
{
|
||||
const SERVER_TYPE_GENERIC = 1;
|
||||
const SERVER_TYPE_OPENLDAP = 2;
|
||||
const SERVER_TYPE_ACTIVEDIRECTORY = 3;
|
||||
const SERVER_TYPE_EDIRECTORY = 4;
|
||||
|
||||
|
||||
/**
|
||||
* Factory method to create the RootDSE.
|
||||
*
|
||||
@ -82,7 +82,7 @@ class Zend_Ldap_Node_RootDse extends Zend_Ldap_Node_Abstract
|
||||
* Constructor is protected to enforce the use of factory methods.
|
||||
*
|
||||
* @param Zend_Ldap_Dn $dn
|
||||
* @param array $data
|
||||
* @param array $data
|
||||
*/
|
||||
protected function __construct(Zend_Ldap_Dn $dn, array $data)
|
||||
{
|
||||
@ -112,7 +112,7 @@ class Zend_Ldap_Node_RootDse extends Zend_Ldap_Node_Abstract
|
||||
/**
|
||||
* Determines if the version is supported
|
||||
*
|
||||
* @param string|int|array $versions version(s) to check
|
||||
* @param string|int|array $versions version(s) to check
|
||||
* @return boolean
|
||||
*/
|
||||
public function supportsVersion($versions)
|
||||
@ -123,7 +123,7 @@ class Zend_Ldap_Node_RootDse extends Zend_Ldap_Node_Abstract
|
||||
/**
|
||||
* Determines if the sasl mechanism is supported
|
||||
*
|
||||
* @param string|array $mechlist SASL mechanisms to check
|
||||
* @param string|array $mechlist SASL mechanisms to check
|
||||
* @return boolean
|
||||
*/
|
||||
public function supportsSaslMechanism($mechlist)
|
||||
|
@ -17,7 +17,7 @@
|
||||
* @subpackage RootDSE
|
||||
* @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: OpenLdap.php 13449 2008-12-23 17:49:44Z sgehrig $
|
||||
* @version $Id: OpenLdap.php 17829 2009-08-26 15:07:10Z sgehrig $
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -60,7 +60,7 @@ class Zend_Ldap_Node_RootDse_OpenLdap extends Zend_Ldap_Node_RootDse
|
||||
/**
|
||||
* Determines if the control is supported
|
||||
*
|
||||
* @param string|array $oids control oid(s) to check
|
||||
* @param string|array $oids control oid(s) to check
|
||||
* @return boolean
|
||||
*/
|
||||
public function supportsControl($oids)
|
||||
@ -71,7 +71,7 @@ class Zend_Ldap_Node_RootDse_OpenLdap extends Zend_Ldap_Node_RootDse
|
||||
/**
|
||||
* Determines if the extension is supported
|
||||
*
|
||||
* @param string|array $oids oid(s) to check
|
||||
* @param string|array $oids oid(s) to check
|
||||
* @return boolean
|
||||
*/
|
||||
public function supportsExtension($oids)
|
||||
@ -82,7 +82,7 @@ class Zend_Ldap_Node_RootDse_OpenLdap extends Zend_Ldap_Node_RootDse
|
||||
/**
|
||||
* Determines if the feature is supported
|
||||
*
|
||||
* @param string|array $oids feature oid(s) to check
|
||||
* @param string|array $oids feature oid(s) to check
|
||||
* @return boolean
|
||||
*/
|
||||
public function supportsFeature($oids)
|
||||
|
@ -17,7 +17,7 @@
|
||||
* @subpackage RootDSE
|
||||
* @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: eDirectory.php 13449 2008-12-23 17:49:44Z sgehrig $
|
||||
* @version $Id: eDirectory.php 17829 2009-08-26 15:07:10Z sgehrig $
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -40,7 +40,7 @@ class Zend_Ldap_Node_RootDse_eDirectory extends Zend_Ldap_Node_RootDse
|
||||
/**
|
||||
* Determines if the extension is supported
|
||||
*
|
||||
* @param string|array $oids oid(s) to check
|
||||
* @param string|array $oids oid(s) to check
|
||||
* @return boolean
|
||||
*/
|
||||
public function supportsExtension($oids)
|
||||
|
@ -1,40 +1,40 @@
|
||||
<?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 Schema
|
||||
* @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: Schema.php 13449 2008-12-23 17:49:44Z sgehrig $
|
||||
* @subpackage Schema
|
||||
* @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: Schema.php 17829 2009-08-26 15:07:10Z sgehrig $
|
||||
*/
|
||||
|
||||
/**
|
||||
* @see Zend_Ldap_Node_Abstract
|
||||
*/
|
||||
require_once 'Zend/Ldap/Node/Abstract.php';
|
||||
|
||||
/**
|
||||
* Zend_Ldap_Node_Schema provides a simple data-container for the Schema node.
|
||||
*
|
||||
* @category Zend
|
||||
require_once 'Zend/Ldap/Node/Abstract.php';
|
||||
|
||||
/**
|
||||
* Zend_Ldap_Node_Schema provides a simple data-container for the Schema node.
|
||||
*
|
||||
* @category Zend
|
||||
* @package Zend_Ldap
|
||||
* @subpackage Schema
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Ldap_Node_Schema extends Zend_Ldap_Node_Abstract
|
||||
* @subpackage Schema
|
||||
* @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
class Zend_Ldap_Node_Schema extends Zend_Ldap_Node_Abstract
|
||||
{
|
||||
const OBJECTCLASS_TYPE_UNKNOWN = 0;
|
||||
const OBJECTCLASS_TYPE_STRUCTURAL = 1;
|
||||
@ -77,8 +77,8 @@ class Zend_Ldap_Node_Schema extends Zend_Ldap_Node_Abstract
|
||||
* Constructor is protected to enforce the use of factory methods.
|
||||
*
|
||||
* @param Zend_Ldap_Dn $dn
|
||||
* @param array $data
|
||||
* @param Zend_Ldap $ldap
|
||||
* @param array $data
|
||||
* @param Zend_Ldap $ldap
|
||||
*/
|
||||
protected function __construct(Zend_Ldap_Dn $dn, array $data, Zend_Ldap $ldap)
|
||||
{
|
||||
@ -90,8 +90,8 @@ class Zend_Ldap_Node_Schema extends Zend_Ldap_Node_Abstract
|
||||
* Parses the schema
|
||||
*
|
||||
* @param Zend_Ldap_Dn $dn
|
||||
* @param Zend_Ldap $ldap
|
||||
* @return Zend_Ldap_Node_Schema *Provides a fluid interface*
|
||||
* @param Zend_Ldap $ldap
|
||||
* @return Zend_Ldap_Node_Schema Provides a fluid interface
|
||||
*/
|
||||
protected function _parseSchema(Zend_Ldap_Dn $dn, Zend_Ldap $ldap)
|
||||
{
|
||||
|
@ -17,7 +17,7 @@
|
||||
* @subpackage Schema
|
||||
* @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: ActiveDirectory.php 13449 2008-12-23 17:49:44Z sgehrig $
|
||||
* @version $Id: ActiveDirectory.php 17829 2009-08-26 15:07:10Z sgehrig $
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -62,8 +62,8 @@ class Zend_Ldap_Node_Schema_ActiveDirectory extends Zend_Ldap_Node_Schema
|
||||
* Parses the schema
|
||||
*
|
||||
* @param Zend_Ldap_Dn $dn
|
||||
* @param Zend_Ldap $ldap
|
||||
* @return Zend_Ldap_Node_Schema *Provides a fluid interface*
|
||||
* @param Zend_Ldap $ldap
|
||||
* @return Zend_Ldap_Node_Schema Provides a fluid interface
|
||||
*/
|
||||
protected function _parseSchema(Zend_Ldap_Dn $dn, Zend_Ldap $ldap)
|
||||
{
|
||||
|
@ -17,7 +17,7 @@
|
||||
* @subpackage Schema
|
||||
* @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: Item.php 13449 2008-12-23 17:49:44Z sgehrig $
|
||||
* @version $Id: Item.php 17829 2009-08-26 15:07:10Z sgehrig $
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -52,8 +52,8 @@ abstract class Zend_Ldap_Node_Schema_Item implements ArrayAccess, Countable
|
||||
/**
|
||||
* Sets the data
|
||||
*
|
||||
* @param array $data
|
||||
* @return Zend_Ldap_Node_Schema_Item *Provides a fluid interface*
|
||||
* @param array $data
|
||||
* @return Zend_Ldap_Node_Schema_Item Provides a fluid interface
|
||||
*/
|
||||
public function setData(array $data)
|
||||
{
|
||||
|
@ -17,7 +17,7 @@
|
||||
* @subpackage Schema
|
||||
* @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: OpenLdap.php 13453 2008-12-23 19:38:48Z sgehrig $
|
||||
* @version $Id: OpenLdap.php 17829 2009-08-26 15:07:10Z sgehrig $
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -80,8 +80,8 @@ class Zend_Ldap_Node_Schema_OpenLdap extends Zend_Ldap_Node_Schema
|
||||
* Parses the schema
|
||||
*
|
||||
* @param Zend_Ldap_Dn $dn
|
||||
* @param Zend_Ldap $ldap
|
||||
* @return Zend_Ldap_Node_Schema *Provides a fluid interface*
|
||||
* @param Zend_Ldap $ldap
|
||||
* @return Zend_Ldap_Node_Schema Provides a fluid interface
|
||||
*/
|
||||
protected function _parseSchema(Zend_Ldap_Dn $dn, Zend_Ldap $ldap)
|
||||
{
|
||||
@ -172,7 +172,7 @@ class Zend_Ldap_Node_Schema_OpenLdap extends Zend_Ldap_Node_Schema
|
||||
/**
|
||||
* Parses an attributeType value
|
||||
*
|
||||
* @param string $value
|
||||
* @param string $value
|
||||
* @return array
|
||||
*/
|
||||
protected function _parseAttributeType($value)
|
||||
@ -271,7 +271,7 @@ class Zend_Ldap_Node_Schema_OpenLdap extends Zend_Ldap_Node_Schema
|
||||
* Resolves inheritance in objectClasses and attributes
|
||||
*
|
||||
* @param Zend_Ldap_Node_Schema_Item $node
|
||||
* @param array $repository
|
||||
* @param array $repository
|
||||
*/
|
||||
protected function _resolveInheritance(Zend_Ldap_Node_Schema_Item $node, array $repository)
|
||||
{
|
||||
@ -306,7 +306,7 @@ class Zend_Ldap_Node_Schema_OpenLdap extends Zend_Ldap_Node_Schema
|
||||
/**
|
||||
* Parses an ldapSyntaxes value
|
||||
*
|
||||
* @param string $value
|
||||
* @param string $value
|
||||
* @return array
|
||||
*/
|
||||
protected function _parseLdapSyntax($value)
|
||||
@ -341,7 +341,7 @@ class Zend_Ldap_Node_Schema_OpenLdap extends Zend_Ldap_Node_Schema
|
||||
/**
|
||||
* Parses an matchingRules value
|
||||
*
|
||||
* @param string $value
|
||||
* @param string $value
|
||||
* @return array
|
||||
*/
|
||||
protected function _parseMatchingRule($value)
|
||||
@ -381,7 +381,7 @@ class Zend_Ldap_Node_Schema_OpenLdap extends Zend_Ldap_Node_Schema
|
||||
/**
|
||||
* Parses an matchingRuleUse value
|
||||
*
|
||||
* @param string $value
|
||||
* @param string $value
|
||||
* @return array
|
||||
*/
|
||||
protected function _parseMatchingRuleUse($value)
|
||||
@ -427,8 +427,8 @@ class Zend_Ldap_Node_Schema_OpenLdap extends Zend_Ldap_Node_Schema
|
||||
/**
|
||||
* Parse the given tokens into a data structure
|
||||
*
|
||||
* @param array $data
|
||||
* @param array $tokens
|
||||
* @param array $data
|
||||
* @param array $tokens
|
||||
* @return void
|
||||
*/
|
||||
protected function _parseLdapSchemaSyntax(array &$data, array $tokens)
|
||||
@ -475,7 +475,7 @@ class Zend_Ldap_Node_Schema_OpenLdap extends Zend_Ldap_Node_Schema
|
||||
/**
|
||||
* Tokenizes the given value into an array
|
||||
*
|
||||
* @param string $value string
|
||||
* @param string $value
|
||||
* @return array tokens
|
||||
*/
|
||||
protected function _tokenizeString($value)
|
||||
|
Reference in New Issue
Block a user