Net_NNTP::isConnected() -- check connection status
Beschreibung
Returns the status of the connection
Rückgabewert
boolean - TRUE, if connected
Hinweise
Diese Methode kann nicht
statisch aufgerufen werden.
Beispiel
Beispiel 54-1. Using isConnected()
<?php
...
if(PEAR::isError($response)) {
// something goes wrong, check if we are still connected
if($nntp->isConnected()) {
echo "disconnected from newsserver!"
...
}
}
?>
|
|