URL
Table of Contents
- getUrls() : array<string|int, mixed>
- grab URLs from provided db field value
- reduceUrl() : string
- reduce the size of long URL to keep web browser display tidy
- getCurrentProtocole() : string
- Return the base url of the current website seen by the visitor
Functions
getUrls()
grab URLs from provided db field value
getUrls(string $field) : array<string|int, mixed>
Function does: unserialize(base64_decode($field))
Parameters
- $field : string
reduceUrl()
reduce the size of long URL to keep web browser display tidy
reduceUrl(string $text[, false|int $limit = FALSE ]) : string
Parameters
- $text : string
- $limit : false|int = FALSE
-
Default is FALSE
getCurrentProtocole()
Return the base url of the current website seen by the visitor
getCurrentProtocole() : string