Welcome Guest, Not a member yet? Register   Sign In
NetBeans and CodeIgniter
#1

[eluser]Unknown[/eluser]
I am using NetBeans IDE <http://netbeans.org/> 7.2 for
Codeigniter<http://ellislab.com/codeigniter>.
I got the Codeigniter support in NetBeans
here<http://alielwafdy.wordpress.com/2012/07/28/codeigniter-support-in-netbeans/>
!

*My question is when I type $query-> then press Ctrl+Space I am getting No
Suggestions Message stating that NetBeans cant detect the $query variable
type.*

I found an answer for NuSphere PhpED IDE
here<http://www.ahowto.net/php/nusphere-phped-code-completion-for-codeigniter-framework>
!

but when I try the same steps in NetBeans the code completion is not
working for the query variable

Code:
/**
* @var CI_DB_result
*/
$query=$this->db->get('cds');
#2

[eluser]cPage[/eluser]
Quote: NetBeans cant detect the $query variable
type.*

$query is not a standard type. Its a resource.

$query->result() return a detectable type.

#3

[eluser]Unknown[/eluser]
In my Netbeans 7.2 , it's not showing any code completion list when I type $query-> and press Ctrl+Space. The IDE I am working is Netbeans 7.2.


I have attached an image showing the code completion suggestion when typed $query-> in NuSphere PhpED.

The problem is its not showing the code suggestion when I do the same in Netbeans 7.2




Theme © iAndrew 2016 - Forum software by © MyBB