PEAR_Validate::_addFailure | PEAR_Validate::getFailures |
PEAR_Validate | |
PEAR Manual | |
require_once '/Validate.php'; |
void
PEAR_Validate::_addWarning
(
string
$field
,
string
$reason
)
add a validation warning from one of the channel validation functions. Use this for a non-fatal warning of a potential problem situation.
The package.xml section being validated (such as version or dependencies)
A human-readable reason that validation failed.
throws no exceptions thrown
This function can not be called statically.
PEAR_Validate::_addFailure | PEAR_Validate::getFailures |
PEAR_Validate | |
PEAR Manual | |