void
PEAR_Validate::getFailures
(
)
Returns a list of failures recorded by the last validation attempt. The list is in format:
<?php
array(
'error' =>
array(
array('field' => 'name', 'name must contain only letters, numbers or underscore'),
),
'warning' =>
array(
array('field' => 'version', 'version should be less than 2.0'),
)
);
?>
throws no exceptions thrown
This function can not be called statically.