You are here

function W3CvalidatorAPI::__construct in W3C Validator 7

* W3CvalidatorAPIv3 constructor. *

Parameters

string $baseUrl: * (optional) an overrided URL to a custom W3Cvalidator instance.

1 call to W3CvalidatorAPI::__construct()
W3CvalidatorAPI::W3CvalidatorAPI in validators/W3CvalidatorAPI.php

File

validators/W3CvalidatorAPI.php, line 33
W3CvalidatorAPI.php

Class

W3CvalidatorAPI
@file W3CvalidatorAPI.php

Code

function __construct($baseUrl = NULL) {
  if (!empty($baseUrl)) {
    $this->baseUrl = $baseUrl;
  }
}