2013-04-02 30 views

回答

1

爲了幫助中使用的模型,你必須:

// Get a reference to the controller object 
$CI = get_instance(); 

// You may need to load the model if it hasn't been pre-loaded 
$CI->load->model('User'); 

// Call a function of the model 
$CI->User->get(); 

希望這將有助於!

+0

對不起,這力量幫助我 – Anusha

相關問題