Net_NNTP_Client::last
()
Net_NNTP_Client :: () – Get the number of the last article in the current newsgroup
Synopsis
require_once 'Net/NNTP/Client.php';
public
integer
Net_NNTP_Client::last
( void
)Описание
Retrieves the number of the last article in the current newsgroup.
Return value
integer
- highest article number in newsgroup
Замечание
since 0.3
This function can not be called statically.
Пример
Using last()
<?php
...
$nntp->selectGroup("php.pear.dev");
echo "highest message number: ".$nntp->last();
?>