NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
mysqli code completion


Joined: 26 Dec 2006
Posts: 6
Location: Netherlands
Reply with quote
I want to use the mysqli extention with the object orientated syntax, but found out PHPEd doesn't give me any code completion. It does work for the procedural syntax. I found a small hint on this forum, which pointed out the I need to write a class template similar to the SPL extention. But, hey, why isn't this supplied by default, do we all need to invent the wheel ourself ? Googling around did give me a good solution. Switching back to Zend, and I was suprissed that this IDE supported both object and procedural code completion.

Any one have a solution for give me code completion for the OO approach for the MYSQLI extention ?

I would be very gratefull.

Kind regards,
Brokenframe


Last edited by Brokenframe on Wed Mar 07, 2007 5:36 pm; edited 1 time in total
View user's profileFind all posts by BrokenframeSend private message
Veteran

Joined: 24 Jan 2006
Posts: 311
Reply with quote
Yes, we need to supply the template for this and a couple of others - we will do it soon. I think we should move this to Feature request
View user's profileFind all posts by yfaktorSend private message


Joined: 26 Dec 2006
Posts: 6
Location: Netherlands
Reply with quote
Thank you yfaktor for you quick reply. And thanks for showing me it is NOT supported in any way right now. I am quite astonished with this information however.

But isn't there a class template which i can use for informing the code completion engine of PHPEd ? I beleive someone must have written such a class interface, wrong ?

BR
Brokenframe
View user's profileFind all posts by BrokenframeSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
You're not correct. Code completion is supported but prototypes for mysqli classes and functions are not provided. You may write them yourself and use the same way as explained there http://forum.nusphere.com/code-completion-for-php-spl-dom-pdo-and-dom-t1733.html

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 26 Dec 2006
Posts: 6
Location: Netherlands
Reply with quote
Finally I got the prototype files for PDO and MySQLi.

In the folder lib\ of another product there is a file called phpFunctions5.php. In PHPED, I configured my project properties to refer the code complete engine to this file and now I get nice code completion.

Shocked Strange however, my favorite editor PHPED, don't provide such a prototype file.

Broken Frame
View user's profileFind all posts by BrokenframeSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Prototypes for PDO are published on this forum.
As of mysqli, I'm sorry for that.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
mysqli code completion
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic