Overview

codeigniter-debug-helper by Serafim Junior Dos Santos Fagundes Cyb3r Network

Version 1.0

MIT License

Copyright (c) 2010 Serafim Junior Dos Santos Fagundes Cyb3r Network

--------------------------------------------------------------------------------

codeigniter-debug-helper is a CodeIgniter helper containing basic functions for
PHP debugging.

--------------------------------------------------------------------------------
Usage
=====

# In the controller...
# --------------------
# Load the helper

	$this->load->helper( 'debug' );
	
# Anywhere after loading
# ----------------------

# Use _a() for an interupt message
# -------------------------------

_a( 'text' ); // Code processing will stop here


# Use _t() to log a message and _o() to output it
# -----------------------------------------------

_t( 'message 1' ); 	// Registers the fist message

...			// Code is processed

_t( 'message 2' );	// Registers another message

...

_o();			// Outputs the registered messages