PHP 클래스 DebugKit\Panel\IncludePanel

상속: extends DebugKit\DebugPanel
파일 보기 프로젝트 열기: cakephp/debug_kit

보호된 프로퍼티들

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