public function __construct() { parent::__construct(); $this->data['k'] = ""; $this->load->library(array('pagination', 'cart')); $this->load->helper(array('url', 'string')); }
public static function getInstance() { if (!self::$_instance instanceof self) { self::$_instance = new self(); } return self::$_instance; }