\ModuleGraphCore

Summary

Methods
Properties
Constants
setEmployee()
setLang()
create()
draw()
setOption()
engine()
getDate()
getDateBetween()
getLang()
No public properties found
No constants found
getData()
setDateGraph()
csvExport()
_displayCsv()
getEmployee()
$_employee
$_values
$_legend
$_titles
$_render
N/A
No private methods found
No private properties found
N/A

Properties

$_employee

$_employee : 

Type

$_values

$_values : array

Type

array — of integers graph data

$_legend

$_legend : array

Type

array — of strings graph legends (X axis)

$_titles

$_titles : 

Type

$_render

$_render : \ModuleGraphEngine

Type

\ModuleGraphEngine — graph engine

Methods

setEmployee()

setEmployee(  $id_employee) 

Parameters

$id_employee

setLang()

setLang(  $id_lang) 

Parameters

$id_lang

create()

create(  $render,   $type,   $width,   $height,   $layers) 

Parameters

$render
$type
$width
$height
$layers

draw()

draw() 

setOption()

setOption(  $option,   $layers = 1) 

Parameters

$option
$layers

engine()

engine(  $params) 

Parameters

$params

getDate()

getDate() 

getDateBetween()

getDateBetween(  $employee = null) 

Parameters

$employee

getLang()

getLang() 

getData()

getData(  $layers) 

Parameters

$layers

setDateGraph()

setDateGraph(  $layers,   $legend = false) 

Parameters

$layers
$legend

csvExport()

csvExport(  $datas) 

Parameters

$datas

_displayCsv()

_displayCsv() 

getEmployee()

getEmployee(  $employee = null, \Context  $context = null) 

Parameters

$employee
\Context $context