ZendLdapLdifEncoder provides methods to encode and decode LDAP data into/from Ldif.
Constructor.
| Parameters: | array – Additional options used during encoding |
|---|
Decodes the string $string into an array of Ldif items
| Parameters: | string – |
|---|---|
| Return type: | array |
Decodes the string $string into an array of Ldif items
| Parameters: | string – |
|---|---|
| Return type: | array |
Pushes a decoded attribute to the stack
| Parameters: |
|
|---|
Encode $value into a Ldif representation
| Parameters: |
|
|---|---|
| Return type: | string The encoded value |
Recursive driver which determines the type of value to be encoded and then dispatches to the appropriate method.
| Parameters: | mixed – The value to be encoded |
|---|---|
| Return type: | string Encoded value |
Encodes $string according to RFC2849
| Parameters: |
|
|---|---|
| Return type: | string |