06-03-2009, 02:25 AM
|
#2 (permalink)
|
|
The Wanderer
Join Date: Oct 2008
Location: Brazil, Balneário Camboriu
Posts: 6
Thanks: 1
|
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!
|
|
|