PEAR_Validate::validateMainFilelist

PEAR_Validate::validateMainFilelist() – for package.xml 2.0 only

Synopsis

require_once '/Validate.php';

void PEAR_Validate::validateMainFilelist ( )

Description

Override this in a channel-specific validator to validate the contents of the <contents> tag in package.xml 2.0-based releases.

Errors should be reported using _addFailure() method, and non-fatal errors (warnings) should be reported using the _addWarning() method.

Throws

throws no exceptions thrown

Note

This function can not be called statically.