PEAR_Validate::_addWarning()
PEAR_Validate::_addWarning()
-- _addWarning
概要
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.
パラメータ
- string
$field
The package.xml section being validated (such as version or
dependencies)
- string
$reason
A human-readable reason that validation failed.
例外・エラー
throws
no exceptions thrown
注意
この関数は、スタティックにコールする
ことはできません。