File: selectNextArticle.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-- 175 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
$article = $nntp->selectNextArticle();
if (PEAR::isError($article)) {
    // handle error
}

if ($article === false) {
    // article does not exist
} else {
    // success
}