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