spoof
 All Data Structures Namespaces Files Functions Variables Pages
Engine Class Reference
Inheritance diagram for Engine:
Collaboration diagram for Engine:

Public Member Functions

 __construct ()
 getName ()
 load ($name)
 getDefinition ()

Data Fields

const STORAGE_TYPE_DB = 1

Protected Attributes

 $name
 $storage
 $storageTypes = array()
 $storageType
 $storageBase = 'IStorage'
 $definition

Constructor & Destructor Documentation

__construct ( )

Constructor

Todo:
verify $storageClass extends storage base interface

Implements IEngine.

Here is the call graph for this function:


Member Function Documentation

getDefinition ( )

Implements IEngine.

getName ( )

Implements IEngine.

load (   $name)

Implements IEngine.

Here is the caller graph for this function:


Field Documentation

$definition
protected
$name
protected

Name of the workflow

The name will be set by the constructor of this object.

$storage
protected

Storage object implementation of IStorage

This object will be set by the constructor of this class based on defined storage type and available storage types of the implementing class.

$storageBase = 'IStorage'
protected
$storageType
protected

Storage type that should be used for specific instance.

This must be one of the indexes defined in the $storageTypes array. Implementing classes may define or let users define this as necessary.

$storageTypes = array()
protected

Array of defined storage types

Index should be the storage type constant, and the value should be the class name that implements IStorage interface. This can be entirely defined in implementing classes.

Reimplemented in Engine.

const STORAGE_TYPE_DB = 1

The documentation for this class was generated from the following file: