v0

\Hubleto\Erp\Api\Dictionary

Parent class\Hubleto\Erp\Controllers\ApiController

Properties

main

public \Hubleto\Framework\Loader $main

Methods

__construct

public __construct(\Hubleto\Framework\Loader $main): mixed

Parameters:

Parameter Type Description
$main \Hubleto\Framework\Loader

renderJson

public renderJson(): array

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
www.hubleto.com | Found a bug or missing something? Report an issue via GitHub.