public function InstapageCmsPluginDrupal7Connector::getHomeURL in Instapage plugin 7.3
Same name and namespace in other branches
- 8.3 core/connectors/InstapageCmsPluginDrupal7Connector.php \InstapageCmsPluginDrupal7Connector::getHomeURL()
Gets the site home URL.
Parameters
bool $protocol Value returned with protocol or not.:
Return value
string Site home URL. With protocol or not.
2 calls to InstapageCmsPluginDrupal7Connector::getHomeURL()
- InstapageCmsPluginDrupal7Connector::checkCustomUrl in core/
connectors/ InstapageCmsPluginDrupal7Connector.php - Checks (and displays) if a landing page hould be displayed instead of normal CMS page under current URL.
- InstapageCmsPluginDrupal7Connector::checkHomepage in core/
connectors/ InstapageCmsPluginDrupal7Connector.php - Checks (and displays) if a landing page marked as homepage should be displayed instead of normal CMS homepage.
File
- core/
connectors/ InstapageCmsPluginDrupal7Connector.php, line 514
Class
- InstapageCmsPluginDrupal7Connector
- Class that utilizes native Drupal 7 functions to perform actions like remote requests and DB operations.
Code
public function getHomeURL($protocol = true) {
$url = $this
->getSiteURL($protocol);
return $url;
}