close() 공개 메소드

Allows for things like closing databases or flushing logs. When running in test mode, tearDown() must be called rather than close.
public close ( )
예제 #1
0
파일: Horde.php 프로젝트: raz0rsdge/horde
 public function close()
 {
     if ($this->state) {
         $GLOBALS['session']->set('horde', 'syncml', $this->state);
     }
     $GLOBALS['session']->close();
     parent::close();
 }
예제 #2
0
파일: Sql.php 프로젝트: jubinpatel/horde
 /**
  * Cleanup public function called after all message processing is finished.
  *
  * Allows for things like closing databases or flushing logs.  When
  * running in test mode, tearDown() must be called rather than close.
  */
 public function close()
 {
     parent::close();
     $this->_db->disconnect();
 }