URL specific methods.
More...
URL specific methods.
Engine / Tool Library
- Author
- CaMykS Team camyk.nosp@m.s.co.nosp@m.ntact.nosp@m.@gma.nosp@m.il.co.nosp@m.m
- Version
- 1.0.3
- Date
- Creation: Apr 2018
-
Modification: Feb 2020
- Copyright
- 2018 - 2020 CaMykS Team
- Note
- This program is distributed as is - WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- Warning
- This library is not loaded with CaMykS initialisation.
◆ url_areInSameDomain()
url_areInSameDomain |
( |
|
$urls = array() , |
|
|
|
$strict = false |
|
) |
| |
Check if provided urls are in the same domain
- Parameters
-
array | $urls | |
boolean | $strict | check also subdomain if true |
- Returns
- boolean result
◆ url_getAsComplete()
url_getAsComplete |
( |
|
$url, |
|
|
|
$scheme = 'http' |
|
) |
| |
Return completed URL with scheme when needed.
- Parameters
-
- Returns
- string
◆ url_getAsSmart()
Return smart display for URL.
- Parameters
-
- Returns
- string