PHP Класс Themosis\Load\WidgetLoader

Наследование: extends Load
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$excludedWidgets array List of excluded widgets names.
$filter Themosis\Hook\IHook
$widgets array The loaded widgets.

Открытые методы

Метод Описание
__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.

Описание методов

__construct() публичный Метод

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

getWidgets() публичный Метод

Return a list of allowed widgets.
public getWidgets ( ) : array
Результат array

install() публичный Метод

Register the widgets.
public install ( )

load() публичный Метод

Load the widgets.
public load ( ) : Themosis\Load\ILoader
Результат Themosis\Load\ILoader

Описание свойств

$excludedWidgets защищенное свойство

List of excluded widgets names.
protected array $excludedWidgets
Результат array

$filter защищенное свойство

protected IHook,Themosis\Hook $filter
Результат Themosis\Hook\IHook

$widgets защищенное свойство

The loaded widgets.
protected array $widgets
Результат array