Net_NNTP::isConnected() -- check connection status
Описание
Returns the status of the connection
Возвращаемое значение
boolean - TRUE, if connected
Заметка
Эта функция не должна вызываться статически.
Пример
Пример 49-1. Using isConnected() ...
if(PEAR::isError($response)) {
// something goes wrong, check if we are still connected
if($nntp->isConnected()) {
echo "disconnected from newsserver!"
...
}
} |
|
HIVE: All information for read only. Please respect copyright! |
|