PHP Class Themosis\Load\WidgetLoader

Inheritance: extends Load
Afficher le fichier Open project: themosis/framework

Protected Properties

Свойство Type Description
$excludedWidgets array List of excluded widgets names.
$filter Themosis\Hook\IHook
$widgets array The loaded widgets.

Méthodes publiques

Méthode Description
__construct ( Themosis\Hook\IHook $filter, array $paths = [] ) WidgetLoader constructor.
getWidgets ( ) : array Return a list of allowed widgets.
install ( ) Register the widgets.
load ( ) : Themosis\Load\ILoader Load the widgets.

Method Details

__construct() public méthode

WidgetLoader constructor.
public __construct ( Themosis\Hook\IHook $filter, array $paths = [] )
$filter Themosis\Hook\IHook
$paths array

getWidgets() public méthode

Return a list of allowed widgets.
public getWidgets ( ) : array
Résultat array

install() public méthode

Register the widgets.
public install ( )

load() public méthode

Load the widgets.
public load ( ) : Themosis\Load\ILoader
Résultat Themosis\Load\ILoader

Property Details

$excludedWidgets protected_oe property

List of excluded widgets names.
protected array $excludedWidgets
Résultat array

$filter protected_oe property

protected IHook,Themosis\Hook $filter
Résultat Themosis\Hook\IHook

$widgets protected_oe property

The loaded widgets.
protected array $widgets
Résultat array