Welcome Guest, Not a member yet? Register   Sign In
eclipse PDT auto complete( view defination) problem in codeigniter project
#1

[eluser]Unknown[/eluser]
Hi ALL,
i'm new in eclipse(Helios) PDT and codeigniter. i'm successfully run the CI project(with auto completion) with eclipse PDT.

In my project controller portion
Code:
$this->load->model('site_model');
$data['rows'] = $this->site_model->get_records();
$this->load->model('site_model'); in this line view definition(ctrl+mouse click in eclipse) is working well
$this->site_model->get_records(); but in this line view definition is not working.

in my project model or library portion view definition is not working
Code:
$this->load->helper('url');

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

$function get_records()
{
$query = $this->db->get('data');
return $query->result();
}
    
function add_record($data)
{
$this->db->insert('data', $data);
return;
}

so, i faced serious problem to understand the code

I would like to request all of you help me in this regards.

Thank you very much in advance




Theme © iAndrew 2016 - Forum software by © MyBB