MaterialFlow
extends TiqBase
in package
Create a Material Flow Diagram
Table of Contents
- $loader : mixed
- __construct() : mixed
- Expects a loader class to be passed in
- __get() : mixed
- Base getter hooked into php's magic __get
- __set() : mixed
- Base setter hooked into php's magic __set
- createMaterialFlow() : mixed
- Creates the Material Flow diagram by instaniating the ThinkIqApp
- terminate() : mixed
- Logs an error and throws and exception
Properties
$loader
public
mixed
$loader
= null
Methods
__construct()
Expects a loader class to be passed in
public
__construct(StandardLoader $loader) : mixed
Parameters
- $loader : StandardLoader
-
This will load all of the dependancies needed for this component
Return values
mixed —__get()
Base getter hooked into php's magic __get
public
__get(string $name) : mixed
Allows the retrieval of properties from a class. Requires the implementation of a get method in the concrete class
Parameters
- $name : string
-
name of the property
Return values
mixed —__set()
Base setter hooked into php's magic __set
public
__set(string $name, mixed $value) : mixed
Allows the settings of properties on a class safely. Requires the implementation of a set method in the concrete class
Parameters
- $name : string
-
name of property to be set
- $value : mixed
Return values
mixed —createMaterialFlow()
Creates the Material Flow diagram by instaniating the ThinkIqApp
public
createMaterialFlow(string $memberId, string $date) : mixed
Parameters
- $memberId : string
-
The alias that Material FLow diagram uses to get data
- $date : string
Return values
mixed —terminate()
Logs an error and throws and exception
protected
terminate([string $message = '' ]) : mixed
Parameters
- $message : string = ''
-
Reason for termination