PHP 클래스 Themosis\Load\WidgetLoader

상속: extends Load
파일 보기 프로젝트 열기: themosis/framework

보호된 프로퍼티들

프로퍼티 타입 설명
$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