Skip to content

Instantly share code, notes, and snippets.

View bkader's full-sized avatar

Kader Bouyakoub bkader

View GitHub Profile
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/**
* CodeIgniter Filebase Class
*
* HOW TO USE - see at the bottom of the file.
*
* @package CodeIgniter
* @subpackage Third Party
@bkader
bkader / Arr.php
Created February 16, 2017 01:08
This class, taken from Fuelphp, allows you to operate on php arrays in CodeIgniter or other php application.
<?php
(defined('BASEPATH')) OR exit('No direct script access allowed');
/**
* CI_Arr - Arr.php
*
* This class was taken from Fuelphp and adapted to be used with CodeIgniter.
*
* @package CodeIgniter
* @category Core
@bkader
bkader / MY_Lang.php
Created January 30, 2017 19:42
This extension load the english version of a language then it will replace lines by the existing ones on the new requested langauge.
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/**
* MY_Lang
*
* This extension of CodeIgniter CI_Lang allows you to load any file in any
* language even if the language file does not exists BUT the english version
* must exist in order to proceed.
*
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/**
* Dinabase Class
*
* @package CodeIgniter
* @subpackage Libraries
* @author Kader Bouyakoub <[email protected]>
* @link http://www.bkader.com/
* @license MIT, DBAD
Verifying that +bkader is my blockchain ID. https://onename.com/bkader