[ Index ]
 

Code source de XOOPS 2.0.17.1

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

/htdocs/class/ -> class.zipfile.php (sommaire)

(pas de description)

Poids: 196 lignes (7 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

zipfile:: (3 méthodes):
  unix2DosTime()
  addFile()
  file()


Classe: zipfile  - X-Ref

unix2DosTime($unixtime = 0)   X-Ref
Converts an Unix timestamp to a four byte DOS date and time format (date
in high two bytes, time in low two bytes allowing magnitude comparison).

param: integer  the current Unix timestamp
return: integer  the current date in a four byte DOS format

addFile($data, $name, $time = 0)   X-Ref
Adds "file" to archive

param: string   file contents
param: string   name of the file in the archive (may contains the path)
param: integer  the current timestamp

file()   X-Ref
Dumps out file

return: string  the zipped file



Généré le : Sun Nov 25 11:44:32 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics