Example #1
0
 public static function get_instance()
 {
     // create an object
     NULL === self::$instance && (self::$instance = new self());
     return self::$instance;
     // return the object
 }