예제 #1
0
 public static function getInstance()
 {
     if (!is_object(self::$instance)) {
         self::$instance = new self();
     }
     return self::$instance;
 }
예제 #2
0
 public static function weight()
 {
     return J2Weight::getInstance();
 }