Net_NNTP_Client::first()

Net_NNTP_Client :: () – Get the number of the first article in the current newsgroup

Synopsis

require_once 'Net/NNTP/Client.php';

public integer Net_NNTP_Client::first ( void )

Описание

Retrieves the number of the first article in the current newsgroup.

Return value

integer - lowest article number in newsgroup

Замечание

since 0.3

This function can not be called statically.

Пример

Using first()

<?php
...
$nntp->selectGroup("php.pear.dev");
echo 
"lowest message number: ".$nntp->first();
?>
    Поддержать сайт на родительском проекте КГБ