\Marketplace_Template_Manager

Manages lifecycle of an Template

Each Template lifecycle handles with a Template_Manager. This is the genera definistion of template manager.

Summary

Methods
Constants
filter()
apply()
states()
No constants found
No protected methods found
N/A
No private methods found
N/A

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) : \Marketplace_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

\Marketplace_Spa

states()

states(  $spa) : array

Returns next possible states

Parameters

$spa

Returns

array —

of states