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


require_once '/Validate.php';

void PEAR_Validate::validateMainFilelist ( )


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 no exceptions thrown


This function can not be called statically.

validateLicense (Previous) validateMaintainers (Next)
Last updated: Sun, 19 Feb 2017 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.