View Single Post
Old 06-03-2009, 02:25 AM   #2 (permalink)
gilbertoalbino
The Wanderer
 
Join Date: Oct 2008
Location: Brazil, Balneário Camboriu
Posts: 6
Thanks: 1
gilbertoalbino is on a distinguished road
Default Review any typo!

Hi, dear Captain Merton!

I've run some tests on your script and have little to say!

Your code is okay, the SingleTon Pattern is correct,
but you typed the Constructor wrong:

Code:
private function _contruct($colid, $colname)
The correct is:

Code:
private function __construct($colid, $colname)
Just it! Congratulation on your way with Design Patterns!
__________________
...it's about producing and sharing!
Send a message via MSN to gilbertoalbino
gilbertoalbino is offline  
Reply With Quote