original_string: public function renderAllFiles($limit = 100, $urlType = UrlType::CDN, $htmlPrefix = false, $htmlSuffix = false)
      {
          $config = (is_int($limit)) ? array(PaginatedIterator::LIMIT => $limit) : array();
          $files = $this->container->objectList($config);
  
          $outputString = '';
          $outputArray = array();
  
          foreach ($files as $file) {
  
              $url = $this->getObject($file->getName())->renderUrl($urlType);
  
              if ($htmlPrefix && $htmlSuffix) {
                  $outputString .= $htmlPrefix . $url . $htmlSuffix;
              } else {
                  $outputArray[] = $url;
              }
          }
  
          return ($htmlPrefix && $htmlSuffix) ? $outputString : $outputArray;
      }
code: public function renderAllFiles($limit = 100, $urlType = UrlType::CDN, $htmlPrefix = false, $htmlSuffix = false)
      {
          $config = (is_int($limit)) ? array(PaginatedIterator::LIMIT => $limit) : array();
          $files = $this->container->objectList($config);
  
          $outputString = '';
          $outputArray = array();
  
          foreach ($files as $file) {
  
              $url = $this->getObject($file->getName())->renderUrl($urlType);
  
              if ($htmlPrefix && $htmlSuffix) {
                  $outputString .= $htmlPrefix . $url . $htmlSuffix;
              } else {
                  $outputArray[] = $url;
              }
          }
  
          return ($htmlPrefix && $htmlSuffix) ? $outputString : $outputArray;
      }
code_tokens: public function renderAllFiles ( $ limit = 100 , $ urlType = UrlType :: CDN , $ htmlPrefix = false , $ htmlSuffix = false ) { $ config = ( is_int ( $ limit ) ) ? array ( PaginatedIterator :: LIMIT => $ limit ) : array ( ) ; $ files = $ this -> container -> objectList ( $ config ) ; $ outputString = '' ; $ outputArray = array ( ) ; foreach ( $ files as $ file ) { $ url = $ this -> getObject ( $ file -> getName ( ) ) -> renderUrl ( $ urlType ) ; if ( $ htmlPrefix && $ htmlSuffix ) { $ outputString .= $ htmlPrefix . $ url . $ htmlSuffix ; } else { $ outputArray [ ] = $ url ; } } return ( $ htmlPrefix && $ htmlSuffix ) ? $ outputString : $ outputArray ; }
docstring: Render all files in a container. If a prefix and suffix are provided, each object will be wrapped in the tags
  provided; otherwise they will be populated in a standard array for later use.
  
  @param int    $limit      The total amount of resources to return
  @param string $urlType    The connection type
  @param bool   $htmlPrefix HTML tag prefix
  @param bool   $htmlSuffix HTML tag suffix
  @return array|string
docstring_tokens: Render all files in a container . If a prefix and suffix are provided each object will be wrapped in the tags provided ; otherwise they will be populated in a standard array for later use .