Container for validation issues returned by MessageValidator. More...
Public Member Functions | |
__construct (ValidationIssues $errors, ValidationIssues $warnings) | |
hasIssues () | |
getIssues () | |
hasWarnings () | |
hasErrors () | |
getWarnings () | |
getErrors () | |
getDescriptiveWarnings (IContextSource $context) | |
getDescriptiveErrors (IContextSource $context) | |
Protected Attributes | |
$errors | |
$warnings | |
Container for validation issues returned by MessageValidator.
Definition at line 17 of file ValidationResult.php.
MediaWiki\Extension\Translate\Validation\ValidationResult::__construct | ( | ValidationIssues | $errors, |
ValidationIssues | $warnings ) |
Definition at line 23 of file ValidationResult.php.
MediaWiki\Extension\Translate\Validation\ValidationResult::getDescriptiveErrors | ( | IContextSource | $context | ) |
Definition at line 59 of file ValidationResult.php.
MediaWiki\Extension\Translate\Validation\ValidationResult::getDescriptiveWarnings | ( | IContextSource | $context | ) |
Definition at line 55 of file ValidationResult.php.
MediaWiki\Extension\Translate\Validation\ValidationResult::getErrors | ( | ) |
Definition at line 51 of file ValidationResult.php.
MediaWiki\Extension\Translate\Validation\ValidationResult::getIssues | ( | ) |
Definition at line 32 of file ValidationResult.php.
MediaWiki\Extension\Translate\Validation\ValidationResult::getWarnings | ( | ) |
Definition at line 47 of file ValidationResult.php.
MediaWiki\Extension\Translate\Validation\ValidationResult::hasErrors | ( | ) |
Definition at line 43 of file ValidationResult.php.
MediaWiki\Extension\Translate\Validation\ValidationResult::hasIssues | ( | ) |
Definition at line 28 of file ValidationResult.php.
MediaWiki\Extension\Translate\Validation\ValidationResult::hasWarnings | ( | ) |
Definition at line 39 of file ValidationResult.php.
|
protected |
Definition at line 19 of file ValidationResult.php.
|
protected |
Definition at line 21 of file ValidationResult.php.