PHP Класс DebugKit\Panel\IncludePanel

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

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

Свойство Тип Описание
$_fileTypes array File Types
$_pluginPaths The list of plugins within the application

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

Метод Описание
__construct ( ) Get a list of plugins on construct for later use
shutdown ( Cake\Event\Event $event ) : void Shutdown callback
summary ( ) : string Get the number of files included in this request.

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

Метод Описание
_getFileType ( string $file ) : string Get the type of file (model, controller etc)
_includePaths ( ) : array Get the possible include paths
_isAppFile ( string $file ) : boolean Check if a path is from APP but not a plugin
_isCakeFile ( string $file ) : boolean Check if a path is part of CakePHP
_isPluginFile ( string $file ) : boolean Check if a path is from a plugin
_niceFileName ( string $file, string $type ) : boolean Replace the path with APP, CORE or the plugin name
_prepare ( ) : array Get a list of files that were included and split them out into the various parts of the app

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

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

Get a list of plugins on construct for later use
public __construct ( )

_getFileType() защищенный Метод

Get the type of file (model, controller etc)
protected _getFileType ( string $file ) : string
$file string File to check.
Результат string

_includePaths() защищенный Метод

Get the possible include paths
protected _includePaths ( ) : array
Результат array

_isAppFile() защищенный Метод

Check if a path is from APP but not a plugin
protected _isAppFile ( string $file ) : boolean
$file string File to check
Результат boolean

_isCakeFile() защищенный Метод

Check if a path is part of CakePHP
protected _isCakeFile ( string $file ) : boolean
$file string File to check
Результат boolean

_isPluginFile() защищенный Метод

Check if a path is from a plugin
protected _isPluginFile ( string $file ) : boolean
$file string File to check
Результат boolean

_niceFileName() защищенный Метод

Replace the path with APP, CORE or the plugin name
protected _niceFileName ( string $file, string $type ) : boolean
$file string File to check
$type string The file type - app for app files - cake for cake files - PluginName for the name of a plugin
Результат boolean

_prepare() защищенный Метод

Get a list of files that were included and split them out into the various parts of the app
protected _prepare ( ) : array
Результат array

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

Shutdown callback
public shutdown ( Cake\Event\Event $event ) : void
$event Cake\Event\Event Event
Результат void

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

Get the number of files included in this request.
public summary ( ) : string
Результат string

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

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

File Types
protected array $_fileTypes
Результат array

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

The list of plugins within the application
protected $_pluginPaths
Результат