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