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

Table 20-1. Possible PEAR_Error values

Error codeError valueMeaningSolution
 ""  

Note

This function can not be called statically.