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

Posted by Ryan Lange on 06/18/06 18:23

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. :-)

Ryan

 

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

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