Thule - 0.9.6
  • Welcome
  • Introduction
  • - MVC(Model-View-Controller)
    - Architecture of Framework
    - Flow Chart of Application
    - Services In One Server
    - Developing Guide
    - Features
  • Installation
  • Getting Started
  • - Direct Access HTTP
    - Router Access HTTP
    - Router Direct Access HTTP
    - Reserved Function
    - Convention
    - Bootstrap
    - Pack Javascript , CSS
  • Basic Modules
  • - Model
    - View
    - Controller
  • Libraries
  • - Router
    - Config
    - Response
    - Request
    - Database
    - Query
    - Cache
    - Debug
    - Log
    - Unit Test
    - Registry
    - Profile
  • Helper
  • - Auth
    - Calendar
    - Date
    - Error page
    - Email
    - Form
    - GeoIP
    - Google
    - Html Element
    - Html
    - Http
    - I18n
    - Image
    - Json
    - Jquery
    - Login
    - Layout
    - Locale
    - PHP to Javascript
    - Paging
    - Payflow
    - Soap
    - Text
    - Table
    - Uri
    - Upload
    - Validation
  • Plugins
  • - Smarty Template Engine
  • History
  • Home > Debug

    Debug is very useful to know about request , response and cache status.
    There are three option for display.
    1. print_r
    2. var_dump
    3. popup
    If you call the below, Debug is going to display the data and exit .

    Thule_Debug::action(); // default same as 0
    Thule_Debug::action(DEBUG_PRINTR);
    Thule_Debug::action(DEBUG_VARDUMP);
    Thule_Debug::action(DEBUG_POPUP);

    Debug dump

    If you put the dump function to anywhere, you can see the query (and optional class) in bottom of your page.

    Thule_Debug::dump();

    Popup Debug

    echo $Frontend->debug();