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: Wed, 23 Apr 2014 — 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:

User Notes:

There are no user contributed notes for this page.