Example #1
0
 /**
  * returns an instance of the class
  *
  * @static
  * @return Object, instance of this class
  */
 public static function getInstance()
 {
     if (!self::$_instance) {
         self::$_instance = new self();
     }
     return self::$_instance;
 }