You are here

public static function InstapageCmsPluginConnector::getSitename in Instapage plugin 8.3

Same name and namespace in other branches
  1. 7.3 core/connectors/InstapageCmsPluginConnector.php \InstapageCmsPluginConnector::getSitename()

Gets the sitemane.

Parameters

bool $sanitized If the name should be sanitized.:

Return value

string Sitename, sanitized or not.

1 call to InstapageCmsPluginConnector::getSitename()
InstapageCmsPluginAjaxController::getLog in core/InstapageCmsPluginAjaxController.php
Gets the debug log stored in the DB.

File

core/connectors/InstapageCmsPluginConnector.php, line 148

Class

InstapageCmsPluginConnector
Main connector class, used to integrate with PHP-based CMSes. It's job is to detect a CMS that executes the code and select proper CMS Connector.

Code

public static function getSitename($sanitized = false) {
  return self::getSelectedConnector()
    ->getSitename($sanitized);
}