[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

/sites/all/modules/devel/krumo/ -> class.krumo.php (summary)

Krumo: Structured information display solution Krumo is a debugging tool (PHP4/PHP5), which displays structured information about any PHP variable. It is a nice replacement for print_r() or var_dump() which are used by a lot of PHP developers.

Author: Kaloyan K. Tsvetkov <kaloyan@kaloyan.info>
License: http://opensource.org/licenses/lgpl-license.php GNU Lesser General Public License Version 2.1
Version: $Id: class.krumo.php,v 1.1.2.5 2009/09/23 18:14:19 davereid Exp $
File Size: 1281 lines (24 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

krumo:: (39 methods):
  version()
  backtrace()
  classes()
  interfaces()
  includes()
  functions()
  defines()
  extensions()
  headers()
  phpini()
  conf()
  path()
  request()
  get()
  post()
  server()
  cookie()
  env()
  session()
  ini()
  dump()
  _css()
  enable()
  disable()
  _debug()
  _dump()
  _null()
  _marker()
  _hive()
  _vars()
  _recursion()
  _array()
  _object()
  _resource()
  _boolean()
  _integer()
  _float()
  _string()
  krumo()


Class: krumo  - X-Ref

Krumo API

This class stores the Krumo API for rendering and
displaying the structured information it is reporting

version()   X-Ref
Return Krumo version

return: string

backtrace()   X-Ref
Prints a debug backtrace


classes()   X-Ref
Prints a list of all currently declared classes.


interfaces()   X-Ref
Prints a list of all currently declared interfaces (PHP5 only).


includes()   X-Ref
Prints a list of all currently included (or required) files.


functions()   X-Ref
Prints a list of all currently declared functions.


defines()   X-Ref
Prints a list of all currently declared constants.


extensions()   X-Ref
Prints a list of all currently loaded PHP extensions.


headers()   X-Ref
Prints a list of all HTTP request headers.


phpini()   X-Ref
Prints a list of the configuration settings read from <i>php.ini</i>


conf()   X-Ref
Prints a list of all your configuration settings.


path()   X-Ref
Prints a list of the specified directories under your <i>include_path</i> option.


request()   X-Ref
Prints a list of all the values from the <i>$_REQUEST</i> array.


get()   X-Ref
Prints a list of all the values from the <i>$_GET</i> array.


post()   X-Ref
Prints a list of all the values from the <i>$_POST</i> array.


server()   X-Ref
Prints a list of all the values from the <i>$_SERVER</i> array.


cookie()   X-Ref
Prints a list of all the values from the <i>$_COOKIE</i> array.


env()   X-Ref
Prints a list of all the values from the <i>$_ENV</i> array.


session()   X-Ref
Prints a list of all the values from the <i>$_SESSION</i> array.


ini($ini_file)   X-Ref
Prints a list of all the values from an INI file.

param: string $ini_file

dump($data)   X-Ref
Dump information about a variable

param: mixed $data,...

_css()   X-Ref
Print the skin (CSS)

return: boolean

enable()   X-Ref
Enable Krumo

return: boolean

disable()   X-Ref
Disable Krumo

return: boolean

_debug($state=null)   X-Ref
Get\Set Krumo state: whether it is enabled or disabled

param: boolean $state
return: boolean

_dump(&$data, $name='...')   X-Ref
Dump information about a variable

param: mixed $data
param: string $name

_null($name)   X-Ref
Render a dump for a NULL value

param: string $name
return: string

_marker()   X-Ref
Return the marked used to stain arrays
and objects in order to detect recursions

return: string

_hive(&$bee)   X-Ref
Adds a variable to the hive of arrays and objects which
are tracked for whether they have recursive entries

param: mixed &$bee either array or object, not a scallar vale
return: array all the bees

_vars(&$data)   X-Ref
Render a dump for the properties of an array or objeect

param: mixed &$data

_recursion()   X-Ref
Render a block that detected recursion


_array(&$data, $name)   X-Ref
Render a dump for an array

param: mixed $data
param: string $name

_object(&$data, $name)   X-Ref
Render a dump for an object

param: mixed $data
param: string $name

_resource($data, $name)   X-Ref
Render a dump for a resource

param: mixed $data
param: string $name

_boolean($data, $name)   X-Ref
Render a dump for a boolean value

param: mixed $data
param: string $name

_integer($data, $name)   X-Ref
Render a dump for a integer value

param: mixed $data
param: string $name

_float($data, $name)   X-Ref
Render a dump for a float value

param: mixed $data
param: string $name

_string($data, $name)   X-Ref
Render a dump for a string value

param: mixed $data
param: string $name

krumo()   X-Ref
Alias of {@link krumo::dump()}

param: mixed $data,...



Generated: Mon Jul 9 18:01:44 2012 Cross-referenced by PHPXref 0.7