PEAR_Validate::validate

PEAR_Validate::validate() – validate

Synopsis

require_once '/Validate.php';

void PEAR_Validate::validate ( int $state = null )

Description

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.

Parameter

integer $state

one of the PEAR_VALIDATE_* constants

Throws

throws no exceptions thrown

Note

This function can not be called statically.

setPackageFile (Previous) validateChangelog (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.