class W3Cvalidator_Response in W3C Validator 7
Simple class for a w3c_validator module Response.
The aim of this class is to format the response in a similar way, no matter which validator as been employed. NOTE : still, this is oriented to easily understand W3C Markup Validator soap1.2 response format.
Hierarchy
- class \W3Cvalidator_Response
Expanded class hierarchy of W3Cvalidator_Response
File
- validators/
Response.php, line 12
View source
class W3Cvalidator_Response {
/**
* The address of the document validated
* @var string
*/
public $uri;
/**
* Location of the service which provided the validation result.
* @var string
*/
public $checkedby;
/**
* Detected (or forced) Document Type for the validated document.
* @var string
*/
public $doctype;
/**
* Detected (or forced) Character Encoding for the validated document.
* @var string
*/
public $charset;
/**
* Whether or not the document validated passed formal validation.
* (true|false boolean)
* @var bool
*/
public $validity;
/**
* Number of errors found.
* @var int
*/
public $error_count;
/**
* Array of error objects formated as W3Cvalidator_Message.
* @var array
*/
public $errors = array();
/**
* Number of warnings found.
* @var int
*/
public $warning_count;
/**
* Array of warning objects formated as W3Cvalidator_Message.
* @var array
*/
public $warnings = array();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
W3Cvalidator_Response:: |
public | property | Detected (or forced) Character Encoding for the validated document. | |
W3Cvalidator_Response:: |
public | property | Location of the service which provided the validation result. | |
W3Cvalidator_Response:: |
public | property | Detected (or forced) Document Type for the validated document. | |
W3Cvalidator_Response:: |
public | property | Array of error objects formated as W3Cvalidator_Message. | |
W3Cvalidator_Response:: |
public | property | Number of errors found. | |
W3Cvalidator_Response:: |
public | property | The address of the document validated | |
W3Cvalidator_Response:: |
public | property | Whether or not the document validated passed formal validation. (true|false boolean) | |
W3Cvalidator_Response:: |
public | property | Array of warning objects formated as W3Cvalidator_Message. | |
W3Cvalidator_Response:: |
public | property | Number of warnings found. |