Function __global->reprocess_url

Definitions

sources/integrator.php

  • Take a URL and process it to make a hard include. We'll get the HTML and we'll also load up some global stuff for 'do_header' to use.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$url URLPATH No No required parameter N/A N/A The URL that we're operating on
$operation_base_url URLPATH No No required parameter N/A N/A We open up linked URLs under this recursively

Returns

  • The cleaned up contents at the URL, set up for the recursive integrator usage
  • Type: string
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Take a URL and process it to make a hard include. We'll get the HTML and we'll also load up some global stuff for 'do_header' to use.
 *
 * @param  URLPATH $url The URL that we're operating on
 * @param  URLPATH $operation_base_url We open up linked URLs under this recursively
 * @return string The cleaned up contents at the URL, set up for the recursive integrator usage
 */

function reprocess_url(string $url, string $operation_base_url) : string