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.