예제 #1
0
 public static function getInstance()
 {
     if (!self::$instance) {
         self::$instance = new ThermDAO();
     }
     return self::$instance;
 }
예제 #2
0
 public function startThermDAO()
 {
     $this->ThermDAO = ThermDAO::getInstance();
 }