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:
2019-07-17 22:31:04 +02:00
parent 38c146901c
commit 2f397f01f7
2677 changed files with 296182 additions and 45159 deletions

View File

@ -1,35 +1,35 @@
<?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 Ldif
* @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: Encoder.php 13089 2008-12-07 14:00:24Z sgehrig $
*/
/**
* Zend_Ldap_Ldif_Encoder provides methods to encode and decode LDAP data into/from LDIF.
*
* @category Zend
* @subpackage Ldif
* @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: Encoder.php 17829 2009-08-26 15:07:10Z sgehrig $
*/
/**
* Zend_Ldap_Ldif_Encoder provides methods to encode and decode LDAP data into/from LDIF.
*
* @category Zend
* @package Zend_Ldap
* @subpackage Ldif
* @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_Ldif_Encoder
* @subpackage Ldif
* @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_Ldif_Encoder
{
/**
* Additional options used during encoding
@ -42,12 +42,15 @@ class Zend_Ldap_Ldif_Encoder
'wrap' => 78
);
/**
* @var boolean
*/
protected $_versionWritten = false;
/**
* Constructor.
*
* @param array $options Additional options used during encoding
* @param array $options Additional options used during encoding
* @return void
*/
protected function __construct(array $options = array())
@ -58,7 +61,7 @@ class Zend_Ldap_Ldif_Encoder
/**
* Decodes the string $string into an array of LDIF items
*
* @param string $string
* @param string $string
* @return array
*/
public static function decode($string)
@ -70,7 +73,7 @@ class Zend_Ldap_Ldif_Encoder
/**
* Decodes the string $string into an array of LDIF items
*
* @param string $string
* @param string $string
* @return array
*/
protected function _decode($string)
@ -137,8 +140,8 @@ class Zend_Ldap_Ldif_Encoder
/**
* Encode $value into a LDIF representation
*
* @param mixed $value The value to be encoded
* @param array $options Additional options used during encoding
* @param mixed $value The value to be encoded
* @param array $options Additional options used during encoding
* @return string The encoded value
*/
public static function encode($value, array $options = array())
@ -151,7 +154,7 @@ class Zend_Ldap_Ldif_Encoder
* Recursive driver which determines the type of value to be encoded
* and then dispatches to the appropriate method.
*
* @param $value mixed The value to be encoded
* @param mixed $value The value to be encoded
* @return string Encoded value
*/
protected function _encode($value)
@ -171,8 +174,8 @@ class Zend_Ldap_Ldif_Encoder
*
* @link http://www.faqs.org/rfcs/rfc2849.html
*
* @param string $string
* @param boolen $base64
* @param string $string
* @param boolen $base64
* @return string
*/
protected function _encodeString($string, &$base64 = null)
@ -229,8 +232,8 @@ class Zend_Ldap_Ldif_Encoder
*
* @link http://www.faqs.org/rfcs/rfc2849.html
*
* @param string $name
* @param array|string $value
* @param string $name
* @param array|string $value
* @return string
*/
protected function _encodeAttribute($name, $value)
@ -267,7 +270,7 @@ class Zend_Ldap_Ldif_Encoder
*
* @link http://www.faqs.org/rfcs/rfc2849.html
*
* @param array $attributes
* @param array $attributes
* @return string
*/
protected function _encodeAttributes(array $attributes)