Пример #1
0
 static function get_instance()
 {
     // If it's the first grab, set the flag.
     if (self::$_instance == NULL) {
         self::$_instance = new CSST_TMD_Formatting();
     }
     // Return the same copy of this class on each use.
     return self::$_instance;
 }