original_string: public function moreFiles()
      {
          $oConfig = $this->getConfig();
          $iStart = $oConfig->getRequestParameter('start') ? $oConfig->getRequestParameter('start') : 0;
          //$iShopId = $oConfig->getRequestParameter( 'oxshopid' ) ? $oConfig->getRequestParameter( 'oxshopid' ) : null;
          $iShopId = $oConfig->getConfigParam('blMediaLibraryMultiShopCapability') ? $oConfig->getActiveShop()->getShopId() : null;
  
          $aFiles = $this->_getFiles($iStart, $iShopId);
          $blLoadMore = ($iStart + 18 < $this->_getFileCount($iShopId));
  
          header('Content-Type: application/json');
          die(json_encode(array('files' => $aFiles, 'more' => $blLoadMore)));
      }
code: public function moreFiles()
      {
          $oConfig = $this->getConfig();
          $iStart = $oConfig->getRequestParameter('start') ? $oConfig->getRequestParameter('start') : 0;
          //$iShopId = $oConfig->getRequestParameter( 'oxshopid' ) ? $oConfig->getRequestParameter( 'oxshopid' ) : null;
          $iShopId = $oConfig->getConfigParam('blMediaLibraryMultiShopCapability') ? $oConfig->getActiveShop()->getShopId() : null;
  
          $aFiles = $this->_getFiles($iStart, $iShopId);
          $blLoadMore = ($iStart + 18 < $this->_getFileCount($iShopId));
  
          header('Content-Type: application/json');
          die(json_encode(array('files' => $aFiles, 'more' => $blLoadMore)));
      }
code_tokens: public function moreFiles ( ) { $ oConfig = $ this -> getConfig ( ) ; $ iStart = $ oConfig -> getRequestParameter ( 'start' ) ? $ oConfig -> getRequestParameter ( 'start' ) : 0 ; //$iShopId = $oConfig->getRequestParameter( 'oxshopid' ) ? $oConfig->getRequestParameter( 'oxshopid' ) : null; $ iShopId = $ oConfig -> getConfigParam ( 'blMediaLibraryMultiShopCapability' ) ? $ oConfig -> getActiveShop ( ) -> getShopId ( ) : null ; $ aFiles = $ this -> _getFiles ( $ iStart , $ iShopId ) ; $ blLoadMore = ( $ iStart + 18 < $ this -> _getFileCount ( $ iShopId ) ) ; header ( 'Content-Type: application/json' ) ; die ( json_encode ( array ( 'files' => $ aFiles , 'more' => $ blLoadMore ) ) ) ; }
docstring: Load more files
docstring_tokens: Load more files