Documentation

CompetenceLevelTable extends DataSource
in package
implements IDataSource

Interfaces, Classes and Traits

IDataSource

Table of Contents

RENDER_TYPE_IMAGE_BASE64  = 'image_base64'
RENDER_TYPE_IMAGE_PATH  = 'image_path'
RENDER_TYPE_JS_CHART  = 'js_chart'
VIEW_TYPE_CHART  = 'chart'
VIEW_TYPE_TABLE  = 'table'
$datePeriod  : DatePeriod
$explorer  : Explorer
$segmentRule  : string
$structuresManager  : StructuresManager
$translator  : Translator
data()  : array<string|int, mixed>
initialize()  : mixed
Инициализация источника данных
name()  : string
render()  : mixed
setDatePeriod()  : void
Установить период
setSegmentRule()  : void
Установить UUID сегмента
title()  : string
type()  : string
countEmployees()  : string

Constants

RENDER_TYPE_IMAGE_BASE64

public mixed RENDER_TYPE_IMAGE_BASE64 = 'image_base64'

RENDER_TYPE_IMAGE_PATH

public mixed RENDER_TYPE_IMAGE_PATH = 'image_path'

RENDER_TYPE_JS_CHART

public mixed RENDER_TYPE_JS_CHART = 'js_chart'

VIEW_TYPE_CHART

public mixed VIEW_TYPE_CHART = 'chart'

VIEW_TYPE_TABLE

public mixed VIEW_TYPE_TABLE = 'table'

Properties

Methods

data()

public data() : array<string|int, mixed>
Return values
array<string|int, mixed>

render()

public render([string $type = '' ]) : mixed
Parameters
$type : string = ''
Return values
mixed

setDatePeriod()

Установить период

public setDatePeriod(DatePeriod $datePeriod) : void
Parameters
$datePeriod : DatePeriod
Return values
void

setSegmentRule()

Установить UUID сегмента

public setSegmentRule(string $segmentRule) : void
Parameters
$segmentRule : string
Return values
void

countEmployees()

private countEmployees(mixed $sqlWhere, mixed $from, mixed $to) : string
Parameters
$sqlWhere : mixed
$from : mixed
$to : mixed
Return values
string

Search results