Small refactoring of library classes

This commit is contained in:
FrancescoUK
2016-06-23 18:12:18 +01:00
parent 2ca3911d56
commit cf860be1fc
5 changed files with 200 additions and 199 deletions

View File

@@ -9,10 +9,10 @@ require APPPATH.'/views/barcodes/Ean8.php';
class Barcode_lib
{
private $CI = null;
private $CI;
private $supported_barcodes = array('Code39' => 'Code 39', 'Code128' => 'Code 128', 'Ean8' => 'EAN 8', 'Ean13' => 'EAN 13');
function __construct()
public function __construct()
{
$this->CI =& get_instance();
}