Smalldb-REST  v0.4
Public Member Functions | List of all members
DummyHandler Class Reference

Training dummy for Router testing. More...

Inheritance diagram for DummyHandler:
Inheritance graph

Public Member Functions

 __call ($method, $args)
 Log all calls.
 
 getKnownTypes ()
 Get known state machine types. More...
 
 readState ($id)
 Read state of state machine. More...
 
 readViews ($id, $view_names)
 Read state of state machine. More...
 
 invokeTransition ($id, $transition_name, $transition_args)
 Invoke transition of state machine. More...
 
 checkTransition ($id, $action)
 Check if transition is available. More...
 
 listing ($filters)
 List state machines matching $filters. More...
 

Detailed Description

Training dummy for Router testing.

Member Function Documentation

getKnownTypes ( )

Get known state machine types.

Implements IHandler.

Here is the call graph for this function:

readState (   $id)

Read state of state machine.

Implements IHandler.

Here is the call graph for this function:

readViews (   $id,
  $view_names 
)

Read state of state machine.

Implements IHandler.

Here is the call graph for this function:

invokeTransition (   $id,
  $transition_name,
  $transition_args 
)

Invoke transition of state machine.

Implements IHandler.

Here is the call graph for this function:

checkTransition (   $id,
  $action 
)

Check if transition is available.

Implements IHandler.

Here is the call graph for this function:

listing (   $filters)

List state machines matching $filters.

Implements IHandler.

Here is the call graph for this function: