You are here: Re: IDE for PHP « PHP Programming Language « IT news, forums, messages
Re: IDE for PHP

Posted by Chung Leong on 06/19/06 04:15

Ryan Lange wrote:
> Yikes! Premature posting...
>
> Ryan Lange wrote:
> > And, if that's not the case, then @Chung Leong: The IDE keeps track
> > of which class you assign to the variable. Zend Studio is even capable
> > of doing this for assignments from a function call:
>
> The function definition must have a docblock that indicates the
> return value, though:
>
> /**
> * @return MyClass
> */
> function getMyClass()
> {
> return new MyClass();
> }
>
> $obj = getMyClass();
> $obj->[ZDE pops up a list of public methods from MyClass]
>
> Very useful. :-)

Aha, now it makes sense.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация