Package Home

Zend Framework 2 Documentation (Manual)

PHK Home

File: /_sources/modules/zend.ldap.api.ldap.ldif.encoder.txt

Size:3271
Storage flags:no_autoload,compress/gzip (14%)

:orphan:

.. _zend.ldap.api.reference.zend-ldap-ldif-encoder:

Zend\\Ldap\\Ldif\\Encoder
=========================

.. _zend.ldap.api.reference.zend-ldap-ldif-encoder.table:

.. table:: Zend\\Ldap\\Ldif\\Encoder API

   +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
   |Method                                                             |Description                                                                                                                                                                                                                                                                                                                                                               |
   +===================================================================+==========================================================================================================================================================================================================================================================================================================================================================================+
   |array decode(string $string)                                       |Decodes the string $string into an array of LDIF items.                                                                                                                                                                                                                                                                                                                   |
   +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
   |string encode(scalar|array|Zend\\Ldap\\Node $value, array $options)|Encode $value into a LDIF representation. $options is an array that may contain the following keys: 'sort' Sort the given attributes with dn following objectClass and following all other attributes sorted alphabetically. TRUE by default. 'version' The LDIF format version. 1 by default. 'wrap' The line-length. 78 by default to conform to the LDIF specification.|
   +-------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+



For more information about the PHK package format: http://phk.tekwire.net