[eluser]htheus[/eluser]
Hi all
I am using netbeans IDE for codeing. I managed to get autocomplete working by adding the properties on the top of the the controller and model classes
/**
* @property CI_DB_active_record $db
* @property CI_DB_forge $dbforge
* @property CI_Controller $controller
* @property CI_Email $email
* @property CI_Encrypt $encrypt
* @property CI_Lang $lang Language Class
* @property CI_Loader $load Loads views and files
* @property CI_Log $log Logging Class
* @property CI_Model $model CodeIgniter Model Class
* @property CI_Security $security Security Class, xss, csrf, etc...
etc.. etc ..
*/
I still got a autocompletation problem within the following code:
public function getEntry($_id) {
$data = array();
$options = array('id' => $_id);
$Q = $this->db->get_where($this->table_name, $options, $limit);
if ($Q->num_rows() > 0) {
$data = $Q->row_array();
}
$Q->free_result();
return $data;
}
If i type "$Q->" .. autocomplete should "propose me" f.ex. result_array() or free_result()
Anyone had the same issue and could already reslove it?
Thx for your answer
Greetings forom ZH
Han