public function __construct($models = array()) { $CI =& get_instance(); self::$CI = $CI; self::$models = $models; }