Beispiel #1
0
 /**
  * getInstance
  *
  * get singleton instance of class
  *
  * @access public
  * @author Krzysztof Krzyżaniak <*****@*****.**>
  *
  * @return WikiFactoryHub object
  */
 public static function getInstance()
 {
     if (self::$mInstance === false) {
         self::$mInstance = new WikiFactoryHub();
     }
     return self::$mInstance;
 }