original_string: public function setExcludedNews(array $newsIds)
      {
          $newsIds = $this->parseIds($newsIds);
  
          if (0 === \count($newsIds)) {
              throw new NoNewsException();
          }
  
          $t = $this->getNewsModelAdapter()->getTable();
  
          $this->columns[] = "$t.id NOT IN (".\implode(',', $newsIds).')';
      }
code: public function setExcludedNews(array $newsIds)
      {
          $newsIds = $this->parseIds($newsIds);
  
          if (0 === \count($newsIds)) {
              throw new NoNewsException();
          }
  
          $t = $this->getNewsModelAdapter()->getTable();
  
          $this->columns[] = "$t.id NOT IN (".\implode(',', $newsIds).')';
      }
code_tokens: public function setExcludedNews ( array $ newsIds ) { $ newsIds = $ this -> parseIds ( $ newsIds ) ; if ( 0 === \ count ( $ newsIds ) ) { throw new NoNewsException ( ) ; } $ t = $ this -> getNewsModelAdapter ( ) -> getTable ( ) ; $ this -> columns [ ] = "$t.id NOT IN (" . \ implode ( ',' , $ newsIds ) . ')' ; }
docstring: Set the excluded news IDs.
  
  @param array $newsIds
docstring_tokens: Set the excluded news IDs .