PHP Класс Elgg\Debug\Inspector

С версии: 1.11
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
describeCallable ( mixed $callable, string $file_root = '' ) : string Get a string description of a callback
getActions ( ) : array Get Elgg actions information
getEvents ( ) : array Get Elgg event information
getMenus ( ) : array Get information about registered menus
getPluginHooks ( ) : array Get Elgg plugin hooks information
getSimpleCache ( ) : array Get simplecache information
getViews ( string $viewtype = 'default' ) : array Get Elgg view information
getViewtypes ( ) : string[] Get all view types for known views
getWebServices ( ) : array Get Elgg web services API methods
getWidgets ( ) : array Get Elgg widget information

Защищенные методы

Метод Описание
buildHandlerTree ( array $all_handlers ) : array Build a tree of event handlers

Приватные методы

Метод Описание
getViewsData ( ) : array Get data from the Views service

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

buildHandlerTree() защищенный метод

Build a tree of event handlers
protected buildHandlerTree ( array $all_handlers ) : array
$all_handlers array Set of handlers from a HooksRegistrationService
Результат array

describeCallable() публичный метод

E.g. "function_name", "Static::method", "(ClassName)->method", "(Closure path/to/file.php:23)"
public describeCallable ( mixed $callable, string $file_root = '' ) : string
$callable mixed The callable value to describe
$file_root string if provided, it will be removed from the beginning of file names
Результат string

getActions() публичный метод

returns [action] => array(file, access)
public getActions ( ) : array
Результат array

getEvents() публичный метод

Get Elgg event information
public getEvents ( ) : array
Результат array [event,type] => array(handlers)

getMenus() публичный метод

Get information about registered menus
public getMenus ( ) : array
Результат array [menu name] => array(item name => array(text, href, section, parent))

getPluginHooks() публичный метод

Get Elgg plugin hooks information
public getPluginHooks ( ) : array
Результат array [hook,type] => array(handlers)

getSimpleCache() публичный метод

Get simplecache information
public getSimpleCache ( ) : array
Результат array [views]

getViews() публичный метод

Get Elgg view information
public getViews ( string $viewtype = 'default' ) : array
$viewtype string The Viewtype we wish to inspect
Результат array [view] => map of priority to ViewComponent[]

getViewtypes() публичный метод

Get all view types for known views
public getViewtypes ( ) : string[]
Результат string[]

getWebServices() публичный метод

Get Elgg web services API methods
public getWebServices ( ) : array
Результат array [method] => array(function, parameters, call_method, api auth, user auth)

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

Get Elgg widget information
public getWidgets ( ) : array
Результат array [widget] => array(name, contexts)