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
)
Описание
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
Error code | Error value | Meaning | Solution |
---|---|---|---|
" |
Замечание
This function can not be called statically.