You are here

private function W3CvalidatorAPI::makeCallUrl in W3C Validator 7

* Build the full validation URL to call W3C. *

Parameters

string $uri: * the URL to validate. * @return string * the URL ready to call.

1 call to W3CvalidatorAPI::makeCallUrl()
W3CvalidatorAPI::validate in validators/W3CvalidatorAPI.php
* Validate the input URI. *

File

validators/W3CvalidatorAPI.php, line 51
W3CvalidatorAPI.php

Class

W3CvalidatorAPI
@file W3CvalidatorAPI.php

Code

private function makeCallUrl($uri) {
  $data = array(
    'output' => $this->output,
    'uri' => $uri,
  );
  return url($this->baseUrl, array(
    'query' => $data,
  ));
}