Property | Type | Description | |
---|---|---|---|
$_fileTypes | array | File Types | |
$_pluginPaths | The list of plugins within the application |
Method | Description | |
---|---|---|
__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. |
Method | Description | |
---|---|---|
_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 |
protected _getFileType ( string $file ) : string | ||
$file | string | File to check. |
return | string |
protected _includePaths ( ) : array | ||
return | array |
protected _isAppFile ( string $file ) : boolean | ||
$file | string | File to check |
return | boolean |
protected _isCakeFile ( string $file ) : boolean | ||
$file | string | File to check |
return | boolean |
protected _isPluginFile ( string $file ) : boolean | ||
$file | string | File to check |
return | boolean |