NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Code hint question


Joined: 12 May 2007
Posts: 15
Reply with quote
Hi folks,

I have a question about code hint. For example, if you download this application, and make a new project for it. When you open /app/controllers/components/email.php, you will find this line:

Code:
$this->controller->render($this->thtml); 


However, after typing $this->controller->, there is no code hint for render function.

So my question is: is it because of 1) my PhpED's setting 2) features not supported bu PhpED 3) this application (an app built on top of cakephp framework) 4) PHP language ?

Thanks,
View user's profileFind all posts by tiger0516Send private message
Veteran

Joined: 24 Jan 2006
Posts: 311
Reply with quote
Hi, have you looked at this FAQ: http://forum.nusphere.com/tip-type-hints-t1563.html
It might help. Thanks!
View user's profileFind all posts by yfaktorSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8340
Reply with quote
If you press Ctrl-Space (or whatever shorcut you might assign for Code Completion), it will show you either available functions/consts/props for controller or explain you why this info is not available for this property. In most cases, you have to supply Type Hint in the location where controller is defined/introduced as a property.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Code hint question
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