Overview

Packages

  • CONTENIDO
  • Core
    • Authentication
    • Backend
    • Cache
    • CEC
    • Chain
    • ContentType
    • Database
    • Debug
    • Exception
    • Frontend
      • Search
      • URI
      • Util
    • GenericDB
      • Model
    • GUI
      • HTML
    • I18N
    • LayoutHandler
    • Log
    • Security
    • Session
    • Util
    • Validation
    • Versioning
    • XML
  • Module
    • ContentRssCreator
    • ContentSitemapHtml
    • ContentSitemapXml
    • ContentUserForum
    • NavigationTop
    • ScriptCookieDirective
  • mpAutoloaderClassMap
  • None
  • Plugin
    • ContentAllocation
    • CronjobOverview
    • FormAssistant
    • FrontendLogic
    • FrontendUsers
    • Linkchecker
    • ModRewrite
    • Newsletter
    • Repository
      • FrontendNavigation
      • KeywordDensity
    • SearchSolr
    • SmartyWrapper
    • UrlShortener
    • UserForum
    • Workflow
  • PluginManager
  • Setup
    • Form
    • GUI
    • Helper
      • Environment
      • Filesystem
      • MySQL
      • PHP
    • UpgradeJob
  • Smarty
    • Cacher
    • Compiler
    • Config
    • Debug
    • PluginsBlock
    • PluginsFilter
    • PluginsFunction
    • PluginsInternal
    • PluginsModifier
    • PluginsModifierCompiler
    • PluginsShared
    • Security
    • Template
    • TemplateResources
  • Swift
    • ByteStream
    • CharacterStream
    • Encoder
    • Events
    • KeyCache
    • Mailer
    • Mime
    • Plugins
    • Transport

Classes

  • cDebug
  • cDebugDevNull
  • cDebugFile
  • cDebugFileAndVisAdv
  • cDebugHidden
  • cDebugVisible
  • cDebugVisibleAdv
  • cDebugVisibleAdvItem

Interfaces

  • cDebugInterface
  • Overview
  • Package
  • Class
  • Todo
  • Download

Class cDebugVisibleAdv

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.

cDebugVisibleAdv implements cDebugInterface, Countable

Direct known subclasses

cDebugFileAndVisAdv
Package: Core\Debug
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Rudi Bieller
Located at classes/debug/class.debug.visible.adv.php
Methods summary
public static cDebugVisibleAdv
# getInstance( )

Return singleton instance.

Return singleton instance.

Returns

cDebugVisibleAdv

Implementation of

cDebugInterface::getInstance()
private
# __construct( )

Constructor

Constructor

public
# add( mixed $mVariable, string $sVariableDescription = '' )

Add a Debug item to internal collection.

Add a Debug item to internal collection.

Parameters

$mVariable
$sVariableDescription

Implementation of

cDebugInterface::add()
public
# reset( )

Reset internal collection with Debug items.

Reset internal collection with Debug items.

Implementation of

cDebugInterface::reset()
public
# out( string $sText )

Writes a line

Writes a line

Parameters

$sText

See

interface.debug::out()

Implementation of

cDebugInterface::out()
public
# showAll( )

Outputs all Debug items in collection to screen in a HTML Box at left top of page.

Outputs all Debug items in collection to screen in a HTML Box at left top of page.

Implementation of

cDebugInterface::showAll()
private string
# _prepareValue( mixed $mValue )

Prepares Debug item value for output as string representation.

Prepares Debug item value for output as string representation.

Parameters

$mValue

Returns

string
public integer
# count( )

Implemenation of Countable interface

Implemenation of Countable interface

Returns

integer

Implementation of

Countable::count()
public
# show( mixed $mVariable, string $sVariableDescription = '', boolean $bExit = false )

Outputs contents of passed variable in a preformatted, readable way

Outputs contents of passed variable in a preformatted, readable way

Parameters

$mVariable
The variable to be displayed
$sVariableDescription
The variable's name or description
$bExit

If set to true, your app will die() after output of current var

Implementation of

cDebugInterface::show()
Properties summary
private static cDebugVisibleAdv $_instance

Singleton instance

Singleton instance

#
private array $_aItems
#
private string $_buffer
#
CMS CONTENIDO 4.9.7 API documentation generated by ApiGen