[eluser]noideawhattotypehere[/eluser]
Code:
class Mylib {
private $CI;
function __construct() {
$this->CI =& get_instance();
}
function show_lib()
{
$this->CI->load->model('login_check');
}
}
model/module depending on what you want to do (module if you using HMVC and you want full module loaded in, then use it like $this->CI->login_check->fnc();