![]() |
Antidot PHP API
version 0.16.0
##PHP API to simplify integration of Antidot components
|
Public Member Functions | |
__construct ($data) | |
setData ($data) | |
toString () | |
toObject () | |
toArray () | |
get ($expr, $unique=false) | |
set ($expr, $value) | |
add ($parentexpr, $value, $name="") | |
remove ($expr) |
__construct | ( | $data | ) |
string | array | \stdClass | $data |
add | ( | $parentexpr, | |
$value, | |||
$name = "" |
|||
) |
Adds one or more elements matching the given json path expression
string | $parentexpr | JsonPath expression to the parent |
mixed | $value | Value to add |
string | $name | Key name |
get | ( | $expr, | |
$unique = false |
|||
) |
remove | ( | $expr | ) |
Removes all elements matching the given jsonpath expression
string | $expr | JsonPath expression |
set | ( | $expr, | |
$value | |||
) |
setData | ( | $data | ) |
Sets JsonStore's manipulated data
string | array | \stdClass | $data |
toArray | ( | ) |
Returns the given json string to array
toObject | ( | ) |
Returns the given json string to object
toString | ( | ) |
JsonEncoded version of the object