Menu
[CODE] static function getInstance(){
if (!self::$instance) {
self::$instance = new self();
}
return self::$instance;
} // end of getInstance function
I really don’t understand the the above function , can somebody really explain it to me , why the below line :
[CODE]return self::$instance;