PEAR_Packager::package

PEAR_Packager::package() – Create Package archive

Synopsis

require_once 'PEAR/Packager.php';

string PEAR_Packager::package ( string $pkgfile = null , boolean $compress = true )

Description

Creates a Package archive from package definition file and package files

Parameter

string $pkgfile

path to package definition file

boolean $compress

if TRUE package archive will be compessed using gzip

Return value

string - name of the created package archive

Throws

Possible PEAR_Error values
Error code Error value Meaning Solution
  "    

Note

This function can not be called statically.