\Hubleto\Erp\Controller
Parent class | Controller |
Properties
disableLogUsage
public bool $disableLogUsage
permittedForAllUsers
public bool $permittedForAllUsers
appNamespace
public string $appNamespace
hubletoApp
public null|\Hubleto\Framework\Interfaces\AppInterface $hubletoApp
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