Smalldb-REST  v0.3
Public Member Functions | Protected Attributes | List of all members
Handler Class Reference

Handler, which really invokes Smalldb. More...

Inheritance diagram for Handler:
Inheritance graph

Public Member Functions

 __construct ($config, $smalldb)
 Constructor.
 
 getKnownTypes ()
 Get known state machine types. More...
 
 listing ($filters)
 List state machines matching $filters. More...
 
 readState ($id)
 Read state of state machine.
 
 readViews ($id, $view_names)
 Read state of state machine.
 
 checkTransition ($id, $action)
 Check if transition is available.
 
 invokeTransition ($id, $action, $args)
 Invoke transition of state machine.
 

Protected Attributes

 $smalldb
 Smalldb to operate on.
 

Detailed Description

Handler, which really invokes Smalldb.

Member Function Documentation

getKnownTypes ( )

Get known state machine types.

Implements IHandler.

listing (   $filters)

List state machines matching $filters.

Implements IHandler.