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.

constructor (Previous) PEAR_Registry (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.