Buffistechnology 2: You Made Her So She Growls?
Got a question about technology? Ask it here. Discussion of hardware, software, TiVos, multi-region DVDs, Windows, Macs, LINUX, hand-helds, iPods, anything tech related. Better than any helpdesk!
Is there anything special to know about an array of objects? I have a function that returns them, but when I try and use a method on the elements (either like $photos[2]->tag() or by assigning $photo[2] to $photo) I get the "Call to a member function on a non-object" error.
But when I do a print_r on either the single variable or the array, it reports them as objects. I even defined $photo as new Photo before the assignment.
I think it's a matter of the DVDs being quicker and easier to produce, and the fact that Tiger is meant for newer machines.
Maybe they figure to add a CD-based installer after the initial thrust.
There was also a lot of complaining when Apple and Microsoft both went to the CD as default install media.
But when they did go CD, Microsoft gave folks the option to get Win95 and Office 95 on floppies. Dozens of floppies. (Yes, I have done floppy based installations of both.)
I got more and more pissed as each new Mac we bought obsoleted another perfectly serviceable peripheral.
I'm annoyed that my Mac can't use the little tiny weirdly shaped CDs, cause I have one or two things that came with stuff, that I'd really love to put on my computer and can't (OK, it's the Nursing Drug Guide 2005, but still!)
It occurs to me that if you're baking a cassette, you can only rescue the stuff on one side. The other side will be ruined after the first pass.
This didn't happen to cassettes. This was with professional open reel tape that was made in the 70's.
The article Tommyrot originally linked to [link] refers to cassettes. And I've definitely had cassettes that made that mechanical squealy sound talked about in the article.
Is there anything special to know about an array of objects?
ita, let me preface this by saying I'm weak on OOP in PHP, however this [link] may give a hint.
I suspect where you're getting messed up is the assigning the object by reference lines (note the &new):
$personObj[] = &new Person("andrew", "22", "male");
HTH
I'll fiddle around with the code and see if that works -- thanks, Eddie.
I don't know if this is a Mac thing or a Mac-Firefox thing, but for some reason, I can't tab-enter to post anymore. Hitting tab takes me to the Search box, and even if I keep hitting it, it never seems to land on the Post button. Is there a setting I can change to fix this, or am I stuck using the mouse to post?
One more -- I frelled something in my Firefox profile, but I can't figure out how to create a new one. This is what the Mozilla help site says:
On Linux or Mac, start Firefox with the the -profilemanager switch, e.g. ./firefox -profilemanager (this assumes that you're in the firefox directory).
Can someone translate that into English for me?