original_string: public function onNewsListFetchItems(array $archives, $featured, $limit, $offset, ModuleNewsList $module)
      {
          if (null === ($criteria = $this->getCriteria($archives, $featured, $module))) {
              return null;
          }
  
          $criteria->setLimit($limit);
          $criteria->setOffset($offset);
  
          return $criteria->getNewsModelAdapter()->findBy(
              $criteria->getColumns(),
              $criteria->getValues(),
              $criteria->getOptions()
          );
      }
code: public function onNewsListFetchItems(array $archives, $featured, $limit, $offset, ModuleNewsList $module)
      {
          if (null === ($criteria = $this->getCriteria($archives, $featured, $module))) {
              return null;
          }
  
          $criteria->setLimit($limit);
          $criteria->setOffset($offset);
  
          return $criteria->getNewsModelAdapter()->findBy(
              $criteria->getColumns(),
              $criteria->getValues(),
              $criteria->getOptions()
          );
      }
code_tokens: public function onNewsListFetchItems ( array $ archives , $ featured , $ limit , $ offset , ModuleNewsList $ module ) { if ( null === ( $ criteria = $ this -> getCriteria ( $ archives , $ featured , $ module ) ) ) { return null ; } $ criteria -> setLimit ( $ limit ) ; $ criteria -> setOffset ( $ offset ) ; return $ criteria -> getNewsModelAdapter ( ) -> findBy ( $ criteria -> getColumns ( ) , $ criteria -> getValues ( ) , $ criteria -> getOptions ( ) ) ; }
docstring: On news list fetch items.
  
  @param array          $archives
  @param bool|null      $featured
  @param int            $limit
  @param int            $offset
  @param ModuleNewsList $module
  
  @return Collection|null
docstring_tokens: On news list fetch items .