Function __global->_url_to_page_link

Definitions

sources/urls2.php

  • Convert a local URL to a page-link.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: string

Parameters

Name Type Default Set Range Description
$url URLPATH required parameter N/A N/A The URL to convert. Note it may not be a URL Scheme, and it must be based on the local base URL (else failure WILL occur).
$abs_only boolean False N/A N/A Whether to only convert absolute URLs. Turn this on if you're not sure what you're passing is a URL not and you want to be extra safe.
$perfect_only boolean True N/A N/A Whether to only allow perfect conversions

Return

  • The page-link (blank: could not convert)
  • Type: string
  • Set: N/A
  • Range: N/A