/ Published in: PHP
                    
                                        
Usage : $MonObjet = Single::GetInstance();
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
<?php
Class Single {
static $instance;
private function __construct() {}
static function GetInstance() {
return self::$MyInstance;
}
}
?>
Comments
 Subscribe to comments
                    Subscribe to comments
                
                