Yeah, my brain is broke enough already,
i'll just give the class an optional 'name' property.

Thanks all!

"Will Steffen" <[EMAIL PROTECTED]> wrote in message
003101c25e34$2a049950$8000a8c0@william">news:003101c25e34$2a049950$8000a8c0@william...
> Hehe why break your brain- give the class an id property - then you can
> have a getid method and do something like this
>
> $id = $this->getid();
> $this->fpLog = fopen("$id.log","w+");
>
> get_object_vars only seems to return properties so its not gonna help
> you.
>
> I'm currently working on an object thang as well and what ive done where
> I have whole bunch of similar objects is to chuck them into a name=value
> array as they get created so I can find them and fiddle with them again.
> I have no idea if that helps you, or if its even good coding practice
> (formal training - wots that?)
>
> hey im also a n00b so don't take my word on it  - actual mileage may
> vary :-P




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to