Method |
Description |
|
api_link ( $str = '' ) |
|
|
current ( boolean $skip_ajax = false, boolean $no_get = false ) : string |
Returns the current url as a string. |
|
download ( $requestUrl, $post_params = false, $save_to_file = false ) |
|
|
hostname ( ) |
|
|
is_ajax ( ) : true | false |
Return true if the current request is via ajax. |
|
link_to_file ( $path ) |
|
|
param ( $param, $skip_ajax = false, $force_url = false ) |
|
|
param_set ( $param, $value = false, $url = false ) |
|
|
param_unset ( $param, $url = false ) |
|
|
params ( $skip_ajax = false ) |
|
|
redirect ( $url ) |
|
|
replace_site_url ( $arr ) |
|
|
replace_site_url_back ( $arr ) |
|
|
segment ( $num, boolean $page_url = false ) : string | false |
Returns single URL segment. |
|
segments ( boolean $page_url = false ) : array | false |
Returns ALL URL segments as array. |
|
set ( $url = false ) |
|
|
set_current ( $url = false ) |
|
|
site ( $add_string = false ) |
|
|
site_url ( $add_string = false ) |
|
|
slug ( $text ) |
|
|
string ( boolean $skip_ajax = false ) : string |
Returns the current url path, does not include the domain name. |
|
strleft ( $s1, $s2 ) |
|
|
to_path ( $path ) |
|
|