Net_NNTP::getOverviewFormat() -- fetch the name of message headers Описание
Returns the name of message headers, which is provided by every message
Возвращаемое значение
array - list of header names
ЗаметкаЭта функция не должна вызываться статически. ПримерПример 34-1. Using getOverviewFmt()
<?php
...
$tblheaders = $nntp->getOverviewFormat();
// create a table headline
echo '<table>';
echo '<tr>';
foreach($tblheaders as $th) {
// print headernames
echo '<th>'.$th.'</th>';
}
echo '</tr>';
... // draw the header data of messages
echo '</table>';
?>
|
|
|