Property | Type | Description | |
---|---|---|---|
$excludedWidgets | array | List of excluded widgets names. | |
$filter | Themosis\Hook\IHook | ||
$widgets | array | The loaded widgets. |
Method | 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. |
public __construct ( Themosis\Hook\IHook $filter, array $paths = [] ) | ||
$filter | Themosis\Hook\IHook | |
$paths | array |
public getWidgets ( ) : array | ||
return | array |
public load ( ) : Themosis\Load\ILoader | ||
return | Themosis\Load\ILoader |
protected array $excludedWidgets | ||
return | array |