You are here

public static function InstapageCmsPluginConnector::getAjaxURL in Instapage plugin 8.3

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

Gets the AJAX URL for currently used CMS.

Return value

string AJAX URL.

1 call to InstapageCmsPluginConnector::getAjaxURL()
load_instapage_cms_plugin_dashboard in core/connectors/InstapageCmsPluginDrupal7Connector.php
Drupal 7 hook. Function called to load plugin's dashboard.

File

core/connectors/InstapageCmsPluginConnector.php, line 242

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