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 )

Description

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

Return value

integer - lowest article number in newsgroup

Note

since 0.3

This function can not be called statically.

Example

Using first()

<?php
...
$nntp->selectGroup("php.pear.dev");
echo 
"lowest message number: ".$nntp->first();
?>
Net_NNTP_Client::getDescriptions() (Previous) Fetch an article from the NNTP-server (Next)
Last updated: Tue, 02 Sep 2014 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.