You are here: Re: objects of MyClass in array? « PHP Programming Language « IT news, forums, messages
Re: objects of MyClass in array?

Posted by Rik Wasmus on 01/07/08 23:30

On Tue, 08 Jan 2008 00:24:46 +0100, devloop <andrea2004@gmx.de> wrote:

> Thank you soooo much! That´s it! I would have cost me years to find
> that as in JAVA you may write this or leave it!
>
> Do I have to add any include line to use iterator class or
> collections? Do they exist in php?

See: http://nl2.php.net/manual/en/ref.spl.php
Just make sure you explicitly state you class implements ArrayIterator
--
Rik Wasmus

 

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

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