You are here: Re: how do i avoid typing the keyword "$this->" every time inside a class « PHP Programming Language « IT news, forums, messages
Re: how do i avoid typing the keyword "$this->" every time inside a class

Posted by mootmail-googlegroups on 08/09/06 20:39

Joseph S. wrote:
> Hi all,
> how do I avoid typing the keyword "$this->" every time I need to
> reference a member of a class inside the class?
>
> (coming from a world of cozy auto-complete enabled Java / .Net IDEs I
> find it a bit annoying)
>
> TIA,
> JS

For what it's worth, I use Zend studio, and with it's autocomplete,
typing $t is usually enough to get $this as the first entry in most
cases.

I agree, though, that it can get a bit tedious after a while in any
decent sized class.

 

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

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