[ Index ]

PHP Cross Reference of Joomla 2.5.4 DE

title

Body

[close]

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

(no description)

Copyright: Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 773 lines (16 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

plgSystemDebug:: (15 methods):
  __construct()
  onAfterDispatch()
  __destruct()
  display()
  displaySession()
  displayErrors()
  displayProfileInformation()
  displayMemoryUsage()
  displayQueries()
  displayLanguageFilesInError()
  displayLanguageFilesLoaded()
  displayUntranslatedStrings()
  highlightQuery()
  renderBacktrace()
  formatLink()


Class: plgSystemDebug  - X-Ref

Joomla! Debug plugin

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

param: object  &$subject  The object to observe
param: array   $config    An array that holds the plugin configuration

onAfterDispatch()   X-Ref
Add the CSS for debug. We can't do this in the constructor because
stuff breaks.


__destruct()   X-Ref
Show the debug info


display($item, array $errors = array()   X-Ref
General display method.

param: string  $item    The item to display
param: array   $errors  Errors occured during execution
return: string

displaySession($key = '', $session = null, $id = 0)   X-Ref
Display session information.

Called recursive.

param: string   $key      A session key
param: mixed    $session  The session array, initially null
param: integer  $id       The id is used for JS toggling the div
return: string

displayErrors()   X-Ref
Display errors.

return: string

displayProfileInformation()   X-Ref
Display profile information.

return: string

displayMemoryUsage()   X-Ref
Display memory usage

return: string

displayQueries()   X-Ref
Display logged queries.

return: string

displayLanguageFilesInError()   X-Ref
Displays errors in language files.

return: string

displayLanguageFilesLoaded()   X-Ref
Display loaded language files.

return: string

displayUntranslatedStrings()   X-Ref
Display untranslated language strings.

return: string

highlightQuery($sql)   X-Ref
Simple highlight for SQL queries.

param: string  $sql  The query to highlight
return: string

renderBacktrace($error)   X-Ref
Render the backtrace.

Stolen from JError to prevent it's removal.

param: integer  $error  The error
return: string  Contents of the backtrace

formatLink($file, $line = '')   X-Ref
Replaces the Joomla! root with "JROOT" to improve readability.
Formats a link with a special value xdebug.file_link_format
from the php.ini file.

param: string  $file  The full path to the file.
param: string  $line  The line number.
return: string



Generated: Tue Apr 3 11:40:28 2012 Cross-referenced by PHPXref 0.7.1