PEAR_Validate::setPackageFile | PEAR_Validate::validateChangelog |
PEAR_Validate | |
PEAR Manual | |
require_once '/Validate.php'; |
void
PEAR_Validate::validate
(
int
$state = NULL
)
Validate the package.xml passed into setPackageFile(). The parameter passed in is the installer state that should be used, and is one of PEAR_VALIDATE_INSTALLING, PEAR_VALIDATE_DOWNLOADING, PEAR_VALIDATE_NORMAL, PEAR_VALIDATE_UNINSTALLING, or PEAR_VALIDATE_PACKAGING.
one of the PEAR_VALIDATE_* constants
throws no exceptions thrown
This function can not be called statically.
PEAR_Validate::setPackageFile | PEAR_Validate::validateChangelog |
PEAR_Validate | |
PEAR Manual | |