Manuel Pear

Net_NNTP::getOverviewFormat()

Net_NNTP::getOverviewFormat() -- fetch the name of message headers

Synopsis

  1. <?php
  2. require_once 'Net/NNTP.php
  3. ?> 

array Net_NNTP::getOverviewFormat ()

Description

Returns the name of message headers, which is provided by every message

Valeur retournée

array - list of header names

Note

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

Exemple

Exemple 54-1. Using getOverviewFmt()

  1. <?php
  2. ...  
  3. $tblheaders = $nntp->getOverviewFormat();  
  4. // create a table headline
  5. echo '<table>';  
  6. echo '<tr>';  
  7. foreach($tblheaders as $th) {  
  8. // print headernames
  9. echo '<th>'.$th.'</th>';  
  10. }  
  11. echo '</tr>';  
  12. ... // draw the header data of messages
  13. echo '</table>
  14. ?> 

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