You are here

public static function InstapageCmsPluginConnector::getCMSName in Instapage plugin 8.3

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

Gets the currently used CMS name.

Return value

string CMS name.

File

core/connectors/InstapageCmsPluginConnector.php, line 179

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 getCMSName() {
  return self::getSelectedConnector()
    ->getCMSName();
}