SafetyController
extends Page
in package
Table of Contents
Constants
- MODULE_CODE = 'MOD-000002'
Properties
- $renderer : Renderer
- $template : string
- $company : Company
- $companyDivision : CompanyDivision
- $exportFormat : ExportFormat
- $location : Location
- $module : Module
- $timePeriod : TimePeriod
- $userData : array<string|int, mixed>
Methods
- __construct() : mixed
- show() : void
- Renders and sends the page to the client
- setTemplateData() : void
- Sets the data to be used in the template
Constants
MODULE_CODE
public
mixed
MODULE_CODE
= 'MOD-000002'
Properties
$renderer
protected
Renderer
$renderer
$template
protected
string
$template
= 'safety'
$company
private
Company
$company
$companyDivision
private
CompanyDivision
$companyDivision
$exportFormat
private
ExportFormat
$exportFormat
$location
private
Location
$location
$module
private
Module
$module
$timePeriod
private
TimePeriod
$timePeriod
$userData
private
array<string|int, mixed>
$userData
= []
Methods
__construct()
public
__construct(Renderer $renderer, Module $module, Company $company, Location $location, ExportFormat $exportFormat, TimePeriod $timePeriod, CompanyDivision $companyDivision) : mixed
Parameters
- $renderer : Renderer
- $module : Module
- $company : Company
- $location : Location
- $exportFormat : ExportFormat
- $timePeriod : TimePeriod
- $companyDivision : CompanyDivision
show()
Renders and sends the page to the client
public
show() : void
Tags
setTemplateData()
Sets the data to be used in the template
protected
setTemplateData() : void