• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CodeIgniter Report

#1
Hello!

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:
https://github.com/Cedric-ruiu/CodeIgniter-Report

Quick usage:

PHP Code:
$this->load->library('Report');

$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');

echo 
$this->report->with_time()->set_template('yes-i-can-use-my-template')->get_all(); 

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

#2
New version released
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.