Using the factory pattern (mad rantings of a mind without coffee)
View Single Post
10-21-2007, 03:30 PM
Join Date: Oct 2007
Location: Manchester, UK
Yes you can, aslong as the implemented class contains at least all of the methods etc in the interface you can have extra methods in the implemented class.
An important note that i forgot is that the interface class is a totally abstracted class, in other words it doesnt do anything, there are no workings or body to it, it has methods etc but no guts to it, its up to the implemented classes to take care of that.
glad you liked it :)
mysql> SELECT * FROM `users` WHERE `users`.`clue` > 0;
Empty set (0.00 sec)
View Public Profile
Send a private message to sketchMedia
Visit sketchMedia's homepage!
Find More Posts by sketchMedia