TodoPingSettingsProvider extends PingSettingsProvider
FinalYes
Table of Contents
Constants
- DEFAULT_OFFSETS = [0, 15]
Methods
- __construct() : mixed
- fetchAll() : array<string|int, mixed>
- fetchForJsComponent() : array<string|int, mixed>
- Get data for crm.field.ping-selector component
- fetchSelectedValues() : array<string|int, mixed>
- filterOffsets() : array<string|int, mixed>
- getCurrentOffsets() : array<string|int, mixed>
- getDefaultOffsetList() : array<string|int, mixed>
- getOffsetsByValues() : array<string|int, mixed>
- getValuesByOffsets() : array<string|int, mixed>
- getValuesListForJsComponent() : array<string|int, mixed>
Constants
DEFAULT_OFFSETS
public
mixed
DEFAULT_OFFSETS
= [0, 15]
Methods
__construct()
public
__construct(int $entityTypeId[, int $categoryId = 0 ]) : mixed
Parameters
- $entityTypeId : int
- $categoryId : int = 0
fetchAll()
public
fetchAll() : array<string|int, mixed>
Return values
array<string|int, mixed>fetchForJsComponent()
Get data for crm.field.ping-selector component
public
fetchForJsComponent() : array<string|int, mixed>
Return values
array<string|int, mixed>fetchSelectedValues()
public
fetchSelectedValues() : array<string|int, mixed>
Return values
array<string|int, mixed>filterOffsets()
public
static filterOffsets(array<string|int, mixed> $offsets) : array<string|int, mixed>
Parameters
- $offsets : array<string|int, mixed>
Return values
array<string|int, mixed>getCurrentOffsets()
public
getCurrentOffsets() : array<string|int, mixed>
Return values
array<string|int, mixed>getDefaultOffsetList()
public
static getDefaultOffsetList() : array<string|int, mixed>
Return values
array<string|int, mixed>getOffsetsByValues()
public
static getOffsetsByValues(array<string|int, mixed> $values) : array<string|int, mixed>
Parameters
- $values : array<string|int, mixed>
Return values
array<string|int, mixed>getValuesByOffsets()
public
static getValuesByOffsets(array<string|int, mixed> $offsets) : array<string|int, mixed>
Parameters
- $offsets : array<string|int, mixed>
Return values
array<string|int, mixed>getValuesListForJsComponent()
public
static getValuesListForJsComponent() : array<string|int, mixed>