File: getGroups.php

package info (click to toggle)
php-net-nntp 1.5.0~rc2-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 348 kB
  • sloc: php: 2,432; xml: 844; makefile: 5
file content (10 lines) | stat: -rw-r--r-- 257 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
$groups = $nntp->getGroups('*.pear.*');
if (PEAR::isError($groupsummary)) {
    // handle error
}

foreach ($groups as $group) {
    echo $group['group'], ': ';
    echo $group['first'], '-', $group['last'];
    echo ' (', $group['posting'], ')', "\r\n";
}