예제 #1
0
 /**
  * __destruct
  *
  * PHP 5.x destructor
  *
  * @author Joe Stump <*****@*****.**>
  * @access public
  * @return void
  */
 function __destruct()
 {
     parent::__destruct();
 }
예제 #2
0
파일: JxObjectDb.php 프로젝트: joestump/jax
 /**
  * __destruct
  *
  * PHP 5.x destructor
  *
  * @author Joe Stump <*****@*****.**>
  * @access public
  * @return void
  */
 function __destruct()
 {
     parent::__destruct();
     if (!DB::isError($this->db) && $this->db !== null) {
         $this->db->disconnect();
         $this->db = null;
     }
 }