php - Trying to locate Codeigniter function executed in the view file -


i'm trying find below query coming from. below executed in view file resource_update.php cannot find add_resource function resource controller...

is there reason why?

$this->resources->add_resource($desc_arr, $desc_limit, $new_clients); 

check if "resources" library or model. don't think ever need call controller view (which again loaded controller).

i.e., how resources loaded?

$this->load->library('resources'); 

or

$this->load->model('resources'); 

other lack of sleep, see no reason why should not find function way. :)

if bothering - try changing ide phpdesigner, netbeans etc. have cool way of finding function definition , code hinting.

cheers!


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -