Method: getURL()

Returns the complete site URL, including protocol as a string. Eg: 'http://www.example.com'.

Returns:

STRING

Example:

$this->sitesettings->getURL();

Example 2:

 <a href="<?php echo htmlspecialchars($this->sitesettings->getURL()) ?>"><?php echo htmlspecialchars($this->sitesettings->getSetting('core' , 'sitename')) ?></a>

Contact Us

Address: 22a Fishergate York, YO10 4AB · Tel: 01904 636677 · Email: info@dotadmin.com