[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/plugins/system/debug/ -> debug.php (summary)

(no description)

Copyright: (C) 2006 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 699 lines (22 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

PlgSystemDebug:: (10 methods):
  getSubscribedEvents()
  __construct()
  onBeforeCompileHead()
  onAfterRespond()
  onAjaxDebug()
  isAuthorisedDisplayDebug()
  onAfterDisconnect()
  logger()
  collectLogs()
  onBeforeRespond()


Class: PlgSystemDebug  - X-Ref

Joomla! Debug plugin.

getSubscribedEvents()   X-Ref
Returns an array of events this subscriber will listen to.

return: array

__construct(&$subject, $config)   X-Ref
Constructor.

param: DispatcherInterface  &$subject  The object to observe.
param: array                $config    An optional associative array of configuration settings.

onBeforeCompileHead()   X-Ref
Add an assets for debugger.

return: void

onAfterRespond()   X-Ref
Show the debug info.

return: void

onAjaxDebug($event)   X-Ref
AJAX handler

param: Joomla\Event\Event $event
return: void

isAuthorisedDisplayDebug()   X-Ref
Method to check if the current user is allowed to see the debug information or not.

return: boolean  True if access is allowed.

onAfterDisconnect(ConnectionEvent $event)   X-Ref
Disconnect handler for database to collect profiling and explain information.

param: ConnectionEvent  $event  Event object
return: void

logger(LogEntry $entry)   X-Ref
Store log messages so they can be displayed later.
This function is passed log entries by JLogLoggerCallback.

param: LogEntry  $entry  A log entry.
return: void

collectLogs()   X-Ref
Collect log messages.

return: $this

onBeforeRespond()   X-Ref
Add server timing headers when profile is activated.

return: void



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer