Manuel Pear

Net_NNTP_Client::first()

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

Synopsis

require_once 'Net/NNTP/Client.php';

publicentierNet_NNTP_Client::first

Description

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

Valeur retournée

integer - lowest article number in newsgroup

Note

since 0.3

Cette fonction ne peut pas être appelée de façon statique.

Exemple

Exemple 54-1. Using first()

  1. <?php
  2. ...  
  3. $nntp->selectGroup("php.pear.dev");  
  4. echo "lowest message number: ".$nntp->first(  
  5. ?> 

Remonter Remonter
L'éditeur javascript - CSS - Gentoo - Tutoriaux PHP - Tutoriels PHP - Bretagne - php - Moto - Kit graphique