Esempio n. 1
0
 public static function GetInstance()
 {
     if (self::$instanse == null) {
         self::$instanse = new self();
     }
     return self::$instanse;
 }
Esempio n. 2
0
 public function __construct()
 {
     $this->total = M_Total::GetInstance();
 }