Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter Report

(This post was last modified: 02-11-2015, 10:20 AM by cedric.)


I maked a library to store and retrieve/display your error or information messages for CodeIngniter v2.2.x, multi-language, display time, save log in parallel, template, etc. I use this library for all of my CI projects. I hope that help you.

Sources and complete documentation:

Quick usage:

PHP Code:

$this->report->set(FALSE'Ow you make a little mistake...');
$this->report->set(TRUE'Congratulation guys this time it\'s good!');

//Reload page can be possible at this time

echo $this->report->get_all(); 

And quick custom usage:

PHP Code:
$this->report->enable_log()->set = array(FALSE'Ow you make a little mistake...');
$this->report->set TRUE// Use the default success message
$this->report->set(2'Warning guy, you have maybe walked on something')->disable_log();
$this->report->set('3''Good info: Use your brain, but not forget your heart');


I welcome feedback: any bugs, security issues and suggestions for future improvements. Wink

New version released

Theme © iAndrew 2016 - Forum software by © MyBB