Services_W3C_CSSValidator
[ class tree: Services_W3C_CSSValidator ] [ index: Services_W3C_CSSValidator ] [ all elements ]

Class: Services_W3C_CSSValidator_Response

Source Location: /Services_W3C_CSSValidator-0.2.3/Services/W3C/CSSValidator/Response.php

Class Overview


Base class for a W3C CSS Validator Response.


Author(s):

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 53]
Base class for a W3C CSS Validator Response.


[ Top ]


Class Variables

$checkedby =

[line 69]

Location of the service which provided the validation result. In EARL terms, this is the Assertor.
  • Access: public

Type:   string


[ Top ]

$csslevel =

[line 76]

The CSS level (or profile) in use during the validation.
  • Access: public

Type:   string


[ Top ]

$date =

[line 83]

The actual date of the validation.
  • Access: public

Type:   string


[ Top ]

$errors = array()

[line 97]

Array of Services_W3C_CSSValidator_Error objects (if applicable)
  • Access: public

Type:   array


[ Top ]

$uri =

[line 61]

The address of the document validated. In EARL terms, this is the TestSubject.
  • Access: public

Type:   string


[ Top ]

$validity =

[line 90]

Whether or not the document validated passed or not formal validation
  • Access: public

Type:   bool


[ Top ]

$warnings = array()

[line 104]

Array of Services_W3C_CSSValidator_Warning objects (if applicable)
  • Access: public

Type:   array


[ Top ]



Method Detail

addError   [line 123]

void addError( object $error)

Adds a new error on stack
  • Access: public

Parameters:

object   $error   —  instance of Services_W3C_CSSValidator_Error class

[ Top ]

addWarning   [line 137]

void addWarning( object $warning)

Adds a new warning on stack
  • Access: public

Parameters:

object   $warning   —  instance of Services_W3C_CSSValidator_Warning class

[ Top ]

isValid   [line 111]

bool isValid( )

Returns the validity of the checked document.
  • Access: public

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:49:01 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.