\Hubleto\Erp\Api\GetTemplateChartData
| Parent class | \Hubleto\Erp\Controllers\ApiController |
Constants
| Constant | Visibility | Type | Value |
|---|---|---|---|
OPERATIONS |
public | [1 => "=", 2 => "!=", 3 => ">", 4 => "<", 5 => "LIKE", 6 => "BETWEEN"] |
Methods
ƒ renderJson
public renderJson(): array
ƒ generateRandomColor
public generateRandomColor(): string
Inherited methods
ƒ __construct
public __construct(): mixed
ƒ activeUserHasPermission
public activeUserHasPermission(): bool
ƒ validateInputs
Executed after the init() phase.
public validateInputs(): bool
Validates inputs used for the TWIG template.
return bool True if inputs are valid, otherwise false.
ƒ init
Executed at the end of the constructor.
public init(): void
Throws
Should throw an exception on error.
ƒ prepareView
Used to set parametere for the view renderer.
public prepareView(): void
ƒ setView
public setView(string $view): void
Parameters
| Parameter | Type | Description |
|---|---|---|
$view |
string |
ƒ getBreadcrumbs
public getBreadcrumbs(): array
ƒ response
public response(): array
ƒ renderJson
public renderJson(): array
