![]() |
Antidot PHP API
version 0.16.0
##PHP API to simplify integration of Antidot components
|
Default feed coder implementation. More...
Public Member Functions | |
| __construct ($value_separator='_', $escape_character='|') | |
| Construct new instance. | |
| encode (array $feeds) | |
| Encode feeds. | |
| decode ($feeds) | |
| Decode feeds from string. | |
Additional Inherited Members | |
Protected Member Functions inherited from AfsCoderBase | |
| check_unicity (array $params) | |
| Check unicity of provided params. | |
| explode ($sep, $value) | |
| Split provided value. | |
| replace ($pattern, $replacement, $value) | |
| Simple wrapper which add surrounding regex delimiters. | |
Default feed coder implementation.
| __construct | ( | $value_separator = '_', |
|
$escape_character = '|' |
|||
| ) |
Construct new instance.
| $value_separator | [in] character used to separate values. |
| $escape_character | [in] character to escape character when feeds contains previous separator. |
| InvalidArgumentException | when value_separator and escape_character are not strictly different. |
Reimplemented from AfsCoderBase.
| decode | ( | $feeds | ) |
Decode feeds from string.
| $feeds | [in] string representing list of feeds. |
Implements AfsCoderInterface.
| encode | ( | array | $feeds | ) |
Encode feeds.
| $feeds | [in] List of feeds |
Implements AfsCoderInterface.
1.8.1.2