contenido\classes\Debug\Sample.php

Show: PublicProtectedPrivateinherited
    Table of Contents
    Project: Contenido Content Management System

    Description: Sample for using a Debug object Debug objects here are made for simple (!) debugging purposes. Instead of writing echo '

    '.print_r($mMyVar, true).'

    '; you can now write $oDbg->show($mMyVar); and get a formatted, readable representation of the passed variable.

    There are Objects to display the contents of a variable to screen, to html comments and to a file.

    When using Debug_File, there will be a debug.log created in /contenido/logs/

    Using the Factory you can simply change the type of debugger by passing the type to load. By using "devnull" you can keep your debug code while in production systems and turn it on again by changing to "file" or "hidden" if needed.

    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-02-19 modified 2008-05-23 Added Debug_DevNull and Debug_VisibleAdv $Id: Sample.php 383 2008-06-30 08:47:59Z thorsten.granz $: }}  
    Package
    Contenido Backend classes  
    Version
    1.0.0  
    Documentation was generated by phpDocumentor 2.0.0a12.