Smalldb-REST
v0.5-5-gff393ee
|
Handler, which really invokes Smalldb.
Public Member Functions | |
__construct ($config, $smalldb) | |
Constructor. More... | |
getSmalldb () | |
Get Smalldb. More... | |
getKnownTypes () | |
Get known state machine types. More... | |
listing ($filters) | |
List state machines matching $filters. More... | |
readState ($id) | |
Read state of state machine. More... | |
readViews ($id, $view_names) | |
Read state of state machine. More... | |
checkTransition ($id, $action) | |
Check if transition is available. More... | |
invokeTransition ($id, $action, $args) | |
Invoke transition of state machine. More... | |
Protected Attributes | |
$smalldb | |
Smalldb to operate on More... | |
__construct | ( | $config, | |
$smalldb | |||
) |
Constructor.
getSmalldb | ( | ) |
Get Smalldb.
getKnownTypes | ( | ) |
Get known state machine types.
Implements IHandler.
listing | ( | $filters | ) |
List state machines matching $filters.
Implements IHandler.
readState | ( | $id | ) |
Read state of state machine.
Implements IHandler.
readViews | ( | $id, | |
$view_names | |||
) |
Read state of state machine.
Implements IHandler.
checkTransition | ( | $id, | |
$action | |||
) |
Check if transition is available.
Implements IHandler.
invokeTransition | ( | $id, | |
$action, | |||
$args | |||
) |
Invoke transition of state machine.
Implements IHandler.
|
protected |
Smalldb to operate on