예제 #1
0
 /**
  * Returns an instnace of the SilkFlash singleton.
  *
  * @return SilkFlash The singleton SilkFlash instance
  * @author Ted Kulp
  **/
 public static function get_instance()
 {
     if (self::$instance == NULL) {
         self::$instance = new SilkFlash();
     }
     return self::$instance;
 }
 function set_flash($store = 'std', $val)
 {
     return SilkFlash::get_instance()->set($store, $val);
 }