System\Classes\UiManager

Overview

UiManager class manages UI elements


Protected Properties

protected array $elements

elements collection of UI elements


Public Methods

public __call()

public __call(string $method, array $parameters): mixed 

__call dynamically handles calls into the query instance.

public __construct()

public __construct(): void

public getElement()

public getElement($alias, $args): System\Classes\UiElement|null 

public hasElement()

public hasElement($alias): bool 

public static instance()

public static instance(): static 

instance creates a new instance of this singleton

public registerElement()

public registerElement($alias, $class): void