Function __global->strip_url_to_representative_domain
Definitions
sources/input_filter.php
- Convert a full URL to a domain name we will consider this a trust on.
- 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 |
Returns
- The domain
- Type: string
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Convert a full URL to a domain name we will consider this a trust on.
*
* @param URLPATH $url The URL
* @return string The domain
*/
function strip_url_to_representative_domain(string $url) : string
* Convert a full URL to a domain name we will consider this a trust on.
*
* @param URLPATH $url The URL
* @return string The domain
*/
function strip_url_to_representative_domain(string $url) : string

