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 )

Description

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

Return value

integer - highest article number in newsgroup

Note

since 0.3

This function can not be called statically.

Example

Using last()

<?php
...
$nntp->selectGroup("php.pear.dev");
echo 
"highest message number: ".$nntp->last();
?>
Connected? (Previous) Net_NNTP_Client::post() (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.