Exemplo n.º 1
0
 /**
  * Returns an instnace of the SilkApplication singleton.  Most 
  * people can generally use silk() instead of this, but they 
  * both do the same thing.
  *
  * @return SilkApplication The singleton SilkApplication instance
  * @author Ted Kulp
  **/
 public static function get_instance()
 {
     if (self::$instance == NULL) {
         self::$instance = new SilkApplication();
     }
     return self::$instance;
 }