Overview

Packages

  • Auth
    • Ads
    • Ldap
    • Xoops
  • Autotasks
  • Config
    • Category
    • Item
    • Option
  • Core
    • Filesystem
    • Filters
    • Logger
    • Mail
    • Message
    • Password
    • Security
    • StopSpammer
    • Template
    • Textsanitizer
    • VersionChecker
  • Data
    • Avatar
    • Comment
  • Database
    • Connection
    • Criteria
    • Legacy
    • MySQL
    • PDO
    • Updater
  • Feeds
    • RSS
  • File
  • Form
    • Base
    • Elements
  • ICMS
    • IPF
      • View
  • Image
    • Category
  • Ipf
    • Category
    • Controller
    • Export
    • form
    • Keyhighlighter
    • Member
    • Object
    • Permission
    • richfile
    • Tree
    • urllink
    • View
  • kernel
    • Set
  • Member
    • Group
    • GroupMembership
    • GroupPermission
    • User
  • Messaging
  • Module
  • None
  • Notification
  • Page
  • Plugins
    • Editor
  • Preload
    • Libraries
  • Privmessage
  • Session
  • SmartObject
  • View
    • Block
    • Breadcrumb
    • PageNav
    • PrinterFriendly
    • Template
    • Templates
    • Theme
    • Tree

Classes

  • icms_file_DownloadHandler
  • icms_file_MediaUploadHandler
  • icms_file_TarDownloader
  • icms_file_TarFileHandler
  • icms_file_ZipDownloader
  • Overview
  • Package
  • Class

Class icms_file_TarDownloader

Send tar files through a http socket

icms_file_DownloadHandler
Extended by icms_file_TarDownloader
Package: File
Category: ICMS
Copyright: copyright (c) 2000-2007 XOOPS.org
License: GNU General Public License (GPL)
Author: Kazumi Ono onokazu@xoops.org
Located at file/TarDownloader.php
Methods summary
public
# __construct( string $ext = '.tar.gz', string $mimyType = 'application/x-gzip' )

Constructor

Constructor

Parameters

$ext
file extension
$mimyType
Mimetype

Overrides

icms_file_DownloadHandler::__construct()
public
# addFile( string $filepath, string $newfilename = null )

Add a file to the archive

Add a file to the archive

Parameters

$filepath
Full path to the file
$newfilename
Filename (if you don't want to use the original)
public
# addBinaryFile( string $filepath, string $newfilename = null )

Add a binary file to the archive

Add a binary file to the archive

Parameters

$filepath
Full path to the file
$newfilename
Filename (if you don't want to use the original)
public
# addFileData( string & $data, string $filename, integer $time = 0 )

Add a dummy file to the archive

Add a dummy file to the archive

Parameters

$data
Data to write
$filename
Name for the file in the archive
$time
public
# addBinaryFileData( string & $data, string $filename, integer $time = 0 )

Add a binary dummy file to the archive

Add a binary dummy file to the archive

Parameters

$data
Data to write
$filename
Name for the file in the archive
$time
public
# download( string $name, boolean $gzip = true )

Send the file to the client

Send the file to the client

Parameters

$name
Filename
$gzip
Use GZ compression
Methods inherited from icms_file_DownloadHandler
_header()
Properties inherited from icms_file_DownloadHandler
$archiver, $ext, $mimetype
API documentation generated by ApiGen