contenido\classes\Debug\Debug_VisibleAdv.class.php
Project:
Contenido Content Management System
Description: Debug object to show info on screen in a box / HTML Block at the top of page. Instead of doing the output immediately using method show, values can be collected and printed to screen in one go. Therefore there's a box positioned at the left top of the page that can be toggled and hidden.
Please note: When using method Debug_VisibleAdv::showAll() you'll produce invalid HTML when having an XHTML doctype.
Requirements:
- Author
- Rudi Bieller
- Con_php_req
- 5.0
- Copyright
- four for business AG
- License
- http://www.contenido.org/license/LIZENZ.txt
- Link
- http://www.4fb.de
- Link
- {@internal created 2008-05-20 $Id: Debug_VisibleAdv.class.php 830 2008-09-18 10:51:34Z OliverL $: }}
- Package
- Contenido Backend classes
- Version
- 1.0.0
\Debug_VisibleAdv
Package: Default


- Implements
- \IDebug
Properties
Methods

_prepareValue(mixed $mValue) : stringPrepares Debug item value for output as string representation.
Parameters
Returns
Details
| Name | Type | Description |
|---|---|---|
| $mValue | mixed |
| Type | Description |
|---|---|
| string |
- Access
- private

add(mixed $mVariable, string $sVariableDescription = '') : \void;Add a Debug item to internal collection.
Parameters
Returns
Details
| Name | Type | Description |
|---|---|---|
| $mVariable | mixed | |
| $sVariableDescription | string |
| Type | Description |
|---|---|
| \void; |
- Access
- public

show(mixed $mVariable, string $sVariableDescription = '', boolean $bExit = false) : voidOutputs contents of passed variable in a preformatted, readable way
Parameters
Details
| Name | Type | Description |
|---|---|---|
| $mVariable | mixed | The variable to be displayed |
| $sVariableDescription | string | The variable's name or description |
| $bExit | boolean | If set to true, your app will die() after output of current var |
- Access
- public
\Debug_VisibleAdv_Item
Package: Default
An object representing one Debug item of a Debug_VisibleBlock.