PEAR_Validate::validatePackageName

PEAR_Validate::validatePackageName() – validatePackageName

Synopsis

require_once '/Validate.php';

void PEAR_Validate::validatePackageName ( )

Description

Override this in a channel-specific validator to validate a package name.

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.

validateNotes (Previous) for package.xml 2.0 only (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.