示例#1
0
 public function post($article)
 {
     SpotDebug::msg(SpotDebug::TRACE, __CLASS__ . "->post() -> " . serialize($article));
     $this->connect();
     /*
      * We cannot run post() directly because it would
      * trigger the autoloader
      */
     $tmpError = $this->_nntp->cmdPost();
     if ($tmpError) {
         return $this->_nntp->cmdPost2($article);
     } else {
         return $tmpError;
     }
     # else
 }