Function __global->get_domain
Definitions
sources/global2.php
- Get the domain the website is installed on (preferably, without any www). The domain is used for e-mail defaults among other things.Also see get_request_hostname() and get_base_url_hostname() and get_server_names().
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: string
Returns
- The domain of the website
- Type: string
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get the domain the website is installed on (preferably, without any www). The domain is used for e-mail defaults among other things.Also see get_request_hostname() and get_base_url_hostname() and get_server_names().
*
* @return string The domain of the website
*/
function get_domain() : string
* Get the domain the website is installed on (preferably, without any www). The domain is used for e-mail defaults among other things.Also see get_request_hostname() and get_base_url_hostname() and get_server_names().
*
* @return string The domain of the website
*/
function get_domain() : string
sources/minikernel.php
- Get the domain the website is installed on (preferably, without any www). The domain is used for e-mail defaults among other things.See also get_request_hostname() and get_base_url_hostname().
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Returns
- The domain of the website (false: error)
- Type: ~string
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get the domain the website is installed on (preferably, without any www). The domain is used for e-mail defaults among other things.See also get_request_hostname() and get_base_url_hostname().
*
* @return ~string The domain of the website (false: error)
*/
function get_domain()
* Get the domain the website is installed on (preferably, without any www). The domain is used for e-mail defaults among other things.See also get_request_hostname() and get_base_url_hostname().
*
* @return ~string The domain of the website (false: error)
*/
function get_domain()

