\Tenant_SPA_Manager_Remote

Simple SPA management

Summary

Methods
Properties
Constants
filter()
apply()
states()
install()
$STATE_MACHINE
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$STATE_MACHINE

$STATE_MACHINE : array

State machine of spa

Type

array

Methods

filter()

filter(\Pluf_HTTP_Request  $request) : \Pluf_SQL

Creates a filter

Parameters

\Pluf_HTTP_Request $request

Returns

\Pluf_SQL

apply()

apply(  $spa, String  $action) : \Tenant_SPA

Apply action on object

Each order must follow CRUD actions in life cycle. Here is default action list:

  • create
  • read
  • update
  • delete

Parameters

$spa
String $action

Returns

\Tenant_SPA

states()

states(  $spa) : array

Returns next possible states

Parameters

$spa

Returns

array —

of states

install()

install(\Pluf_HTTP_Request  $request, \Tenant_SPA  $object) 

Install an spa

Parameters

\Pluf_HTTP_Request $request
\Tenant_SPA $object