You are here

public static function InstapageCmsPluginServicesModel::getInstance in Instapage plugin 8.3

Same name and namespace in other branches
  1. 7.3 core/models/InstapageCmsPluginServicesModel.php \InstapageCmsPluginServicesModel::getInstance()

Gets the class instance.

Return value

object Class instance.

3 calls to InstapageCmsPluginServicesModel::getInstance()
InstapageCmsPluginDrupal7Connector::checkProxy in core/connectors/InstapageCmsPluginDrupal7Connector.php
Checks (and processes it) if a lcurrent request should be processes by plugin's proxy.
InstapageCmsPluginDrupal8Connector::checkProxy in core/connectors/InstapageCmsPluginDrupal8Connector.php
Checks (and processes it) if a lcurrent request should be processes by plugin's proxy.
InstapageCmsPluginWPConnector::checkProxy in core/connectors/InstapageCmsPluginWPConnector.php
Checks (and processes it) if a lcurrent request should be processes by plugin's proxy.

File

core/models/InstapageCmsPluginServicesModel.php, line 18

Class

InstapageCmsPluginServicesModel
Class responsible for managing the landing pages.

Code

public static function getInstance() {
  if (self::$servicesModel === null) {
    self::$servicesModel = new InstapageCmsPluginServicesModel();
  }
  return self::$servicesModel;
}