FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Class of array objects to array of class objects
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Class of array objects to array of class objects [message #177332] Tue, 13 March 2012 21:36 Go to next message
Christopher M. is currently offline  Christopher M.
Messages: 9
Registered: March 2012
Karma: 0
Junior Member
I have a class that contains some arrays. I'd like to change it into an
array of class objects. Do I need to use ArrayObject?


W. Pooh (AKA Winnie P.)
Re: Class of array objects to array of class objects [message #177333 is a reply to message #177332] Tue, 13 March 2012 22:04 Go to previous message
M. Strobel is currently offline  M. Strobel
Messages: 386
Registered: December 2011
Karma: 0
Senior Member
Am 13.03.2012 22:36, schrieb Christopher M.:
> I have a class that contains some arrays. I'd like to change it into an
> array of class objects. Do I need to use ArrayObject?
>
>
> W. Pooh (AKA Winnie P.)
>
>
Just store your objects in the array.

/Str.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Stats comp.lang.php (last 7 days)
Next Topic: Search or Post Jobs
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 14:56:13 GMT 2024

Total time taken to generate the page: 0.02639 seconds