Adding a third party class to CodeIgniter library

You can find many php classes at http://www.phpclasses.org/.
This time I’d like to add a new class called BBQQ calendar to library. I know that there is a calendar class for CodeIgniter, but this will show you how simple is to add a third party php class to CI.

Files

Download a zip file from http://www.phpclasses.org/browse/package/5743.html#download. You need to register and sign-in in order to see a download link. Unzip it somewhere in your desktop.
Open calendar.php and replace <?php with the following code at the top and save it as BBQQ_Calendar.php in application/libraries/ directory.

<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

Continue reading Adding a third party class to CodeIgniter library