src/Net/XMPP/MessageSender.php
public function disconnect()
	{
		if( $this->xmpp )
		{
			if( $this->printLog )
				echo $this->xmpp->log->printout();
			$this->xmpp->disconnect();
			$this->xmpp = NULL;
			return TRUE;
		}
		return FALSE;
	}
public function disconnect()
	{
		if( $this->xmpp )
		{
			if( $this->printLog )
				echo $this->xmpp->log->printout();
			$this->xmpp->disconnect();
			$this->xmpp = NULL;
			return TRUE;
		}
		return FALSE;
	}
public function disconnect ( ) { if ( $ this -> xmpp ) { if ( $ this -> printLog ) echo $ this -> xmpp -> log -> printout ( ) ; $ this -> xmpp -> disconnect ( ) ; $ this -> xmpp = NULL ; return TRUE ; } return FALSE ; }
Closes Connection if still open.
@access		public
@return		bool
Closes Connection if still open .