public static function InstapageCmsPluginViewModel::getInstance in Instapage plugin 7.3
Same name and namespace in other branches
- 8.3 core/models/InstapageCmsPluginViewModel.php \InstapageCmsPluginViewModel::getInstance()
Gets the class instance.
3 calls to InstapageCmsPluginViewModel::getInstance()
- InstapageCmsPluginDebugLogModel::getLogHTML in core/
models/ InstapageCmsPluginDebugLogModel.php - Gets the HTML with debug log. Template for th og is in /templates/log.php file.
- InstapageCmsPluginWPConnector::getOptionsDebugHTML in core/
connectors/ InstapageCmsPluginWPConnector.php - Gets the HTML for CMS options.
- InstapageCmsPluginWPConnector::getPluginsDebugHTML in core/
connectors/ InstapageCmsPluginWPConnector.php - Gets the HTML for CMS plugins/modules.
File
- core/
models/ InstapageCmsPluginViewModel.php, line 26
Class
- InstapageCmsPluginViewModel
- Class responsible for displaying a template files.
Code
public static function getInstance() {
if (self::$viewModel === null) {
self::$viewModel = new InstapageCmsPluginViewModel();
}
return self::$viewModel;
}