NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Veteran

Joined: 22 Feb 2006
Posts: 106
Reply with quote
Hi again,

If the little trick works perfect when going through arrays, I can't manage to make it successfull with hash tables.
For example, I have an object of type MyClass in the session array $_SESSION.
But even if I use a type hint (@var MyClass), PhpEd doesn't seem to recognize it.

Code example:
$obj = new MyClass();
$_SESSION['obj'] = $obj;

/**
* @var MyClass
*/
$_SESSION['obj']->


Maybe you can provide me with another of your magic tricks !
Razz

Btw, I use the latest build (4511)


PS :

In this build, when I type "/**" and press RETURN,
there no more the automatic completion for the description comment, I mean:
/**
* @desc
*/
Is it normal ?


Thanks in advance for your precious advices and good luck to PhpEd, best IDE ever written !
View user's profileFind all posts by medifirstSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8350
Reply with quote
with 1st question, @var may relate to variables only, so it's clear why it didn't do the trick.

with 2nd question, it's a problem in 4511 and has been fixed in 4512. It will be released soon.
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Veteran

Joined: 22 Feb 2006
Posts: 106
Reply with quote
Thanks for this quick reply,

So if @var doesn't work, would you have another way to get it work or is it planned in future builds ?

Thanks again,
View user's profileFind all posts by medifirstSend private message
Code completion for arrays...
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