[PHP] php5 iterate an object

2006-01-22 Thread Henrik Gemal
I have an object that looks like this: Test Object ( [config] => TestConfig Object ( [file:protected] => test.conf [kill:protected] => 1 ) [location:private] => "test" } I'm trying to write

[PHP] creating new class from wrapper class (OOP question)

2006-01-18 Thread Henrik Gemal
In a image gallery I have to class'es: class GPicFilePicture extends GPicFileType class GPicFileMovie extends GPicFileType both of them are based on: abstract class GPicFileType In my code I need to create a new GPicFilePicture. To avoid duplicated code I've create a wrapper class: class GPic