public function InstapageCmsPluginPageModel::getLandingPageHTMLFromTheApp in Instapage plugin 7.3
Same name and namespace in other branches
- 8.3 core/models/InstapageCmsPluginPageModel.php \InstapageCmsPluginPageModel::getLandingPageHTMLFromTheApp()
Gets and prepares Landing Page HTML from app (from request to so called enterprise)
Parameters
array $enterpriseCallResult Result from enterpriseCall() method:
Return value
string
1 call to InstapageCmsPluginPageModel::getLandingPageHTMLFromTheApp()
- InstapageCmsPluginPageModel::display in core/
models/ InstapageCmsPluginPageModel.php - Displays the landing page.
File
- core/
models/ InstapageCmsPluginPageModel.php, line 488
Class
- InstapageCmsPluginPageModel
- Class responsible for managing the landing pages.
Code
public function getLandingPageHTMLFromTheApp($enterpriseCallResult) {
$html = isset($enterpriseCallResult['body']) ? $enterpriseCallResult['body'] : false;
$html = $this
->disableCloudFlareScriptReplace($html);
$html = $this
->fixHtmlHead($html);
return $html;
}