Web Marketing Tool
Reseller
WMT .
PageHead
Referred By: Web Marketing Tool
Login

PageHead





PageHead PHP Methods

static addSpeedTest($cookie) v5

Add page speed test
PARAMETERS:
$cookie = object
RETURN VALUE:
string = speed test content

static function getApproveCookieScript(\WMT\Settings\Core $settingsCore) v5

Gets approve cookies script (JS script)
PARAMETERS:
$settingsCore = object
RETURN VALUE:
string = approve cookies script (JS script)

static getBootstrapLink(\WMT\SQL\Page\Page $page) v5

Gets bootstrap integration CSS link
PARAMETERS:
$page = object
RETURN VALUE:
string = bootstrap integration CSS link

static getBootstrapScript(\WMT\SQL\Page\Page $page) v5

Gets Bootstrap javascript integration link
PARAMETERS:
$page = object
RETURN VALUE:
string = Bootstrap javascript integration link

static getCanonical(\WMT\Container $container, \WMT\SQL\Page\Page $page) v5

Gets Canonical meta data
PARAMETERS:
$container = object
$page = object
RETURN VALUE:
string = Canonical meta data

static getChatAddJS(\WMT\Container $container, \WMT\SQL\Page\Page $page, string $user, int $showChat, string $testNewline = "") v5

Gets add message chat JS script (requires chat tool)
PARAMETERS:
$container = object
$page = object
$user = string, Member's Username
$showChat = int, 0 to hide chat, otherwise it will show the chat popup
$testNewline = string
RETURN VALUE:
string = add message chat JS script as HTML

static getChatJS(\WMT\SQL\Page\Page $page, int $showChat, \WMT\SQL\Visit\Visitor $visitor, string $testNewline = "") v5

Gets chat JavaScript (requires chat tool)
PARAMETERS:
$page = object
$showChat = int, 0 to hide chat, otherwise it will show the chat popup
$visitor = object
$testNewline = string
RETURN VALUE:
string = chat JavaScript

static getChatLink(\WMT\Container $container, int $showChat) v5

Gets chat CSS link (Requires chat tool)
PARAMETERS:
$container = object
$showChat = int, 0 to hide chat, otherwise it will show the chat popup
RETURN VALUE:
string = chat CSS link (link HTML tag)

static getChatScript(\WMT\Container $container, int $showChat) v5

Gets chat script (requires chat tool)
PARAMETERS:
$container = object
$showChat = int, 0 to hide chat, otherwise it will show the chat popup
RETURN VALUE:
string = chat script

static getContactAddAjaxScript(\WMT\Container $container, \WMT\SQL\Page\Page $page) v5

Gets add contact ajax javascript
PARAMETERS:
$container = object
$page = object
RETURN VALUE:
string = add contact ajax javascript

static getDefaultJS() v5

Gets page default Javascript code
PARAMETERS:
NONE
RETURN VALUE:
string = page default Javascript code

static getDelayedActionJS(\WMT\Container $container, \WMT\SQL\Page\Page $page, \WMT\SQL\Visit\Visitor $visitor, string $testNewline = "") v5

Gets page delayed action Javascript
PARAMETERS:
$container = object
$page = object
$visitor = object
$testNewline = string
RETURN VALUE:
string = page delayed action Javascript

static getDelayedActionScript(\WMT\Container $container, \WMT\SQL\Page\Page $page) v5

Gets page delayed action Javascript embed html script tag
PARAMETERS:
$container = object
$page = object
RETURN VALUE:
string = page delayed action Javascript

static getDNone(string $scriptInclude) v5

Hide tags having class = d-none and class= wmthidden
PARAMETERS:
$scriptInclude = string, CSS styles to include
RETURN VALUE:
string = Append d-none and wmthidden classes to the page

static getEditPageJS(\WMT\SQL\Page\Page $page, \WMT\SQL\Visit\Visitor $visitor) v5

Gets edit page button javascript
PARAMETERS:
$page = object
$visitor = object
RETURN VALUE:
string = edit page button javascript

static getExitPopupJS(\WMT\Container $container, \WMT\SQL\Page\Page $page, \WMT\SQL\Member\Member $member, string $testNewline = "") v5

Gets Exit popup Javascript
PARAMETERS:
$container = object
$page = object
$member = object
$testNewline = string
RETURN VALUE:
string = Exit popup Javascript

static getExitPopupScript(\WMT\Container $container, \WMT\SQL\Page\Page $page) v5

Gets exit popup JS script HTML tag
PARAMETERS:
$container = object
$page = object
RETURN VALUE:
string = exit popup JS script HTML tag

static getFacebookImage(\WMT\SQL\Page\Page $page) v5

Gets Facebook image meta tag
PARAMETERS:
$page = object
RETURN VALUE:
string = Facebook image meta tag

static getGoogleAnalyticsJS(\WMT\Container $container, $testNewline = "") v5

Gets google analytics javascript
PARAMETERS:
$container = object
$testNewline = string
RETURN VALUE:
string = google analytics javascript

static getInviterScript(\WMT\Container $container, \WMT\SQL\Page\Page $page) v5

Gets inviter javascript (requires inviter tool)
PARAMETERS:
$container = object
$page = object
RETURN VALUE:
string = inviter javascript

static getPageMinuteJS(\WMT\SQL\Page\Page $page, \WMT\SQL\Visit\Visitor $visitor) v5

Gets page min script
PARAMETERS:
$page = object
$visitor = object
RETURN VALUE:
string = page min script

static getSendFormJS(\WMT\Container $container, \WMT\SQL\Page\Page $page, array $formFields, int $tLanguage, bool $hasCPF) v5

Gets Submit capture form javascript functions
PARAMETERS:
$container = object
$page = object
$formFields = array, Capture page form fields as an array
$tLanguage = int, Language ID
$hasCPF = bool, True if the page has a capture form, false otherwise
RETURN VALUE:
string = Submit capture form javascript

static getShowChat(\WMT\Container $container, \WMT\SQL\Member\Member $member) v5

Gets show chat setting as set by a member
PARAMETERS:
$container = object
$member = object
RETURN VALUE:
int = show chat setting value

static getVideoJS(\WMT\SQL\Page\PageContent $pageContent, string $testNewline = "") v5

Gets .mp4 video JavaScript
PARAMETERS:
$pageContent = object
$testNewline = string
RETURN VALUE:
string = mp4 video JavaScript

static getVideoProgressJS($testNewline = "") v5

Gets video progress javascript
PARAMETERS:
$testNewline = string
RETURN VALUE:
string = video progress javascript

static getWelcomeMemberJS(\WMT\Container $container, \WMT\SQL\Visit\Visitor $visitor) v5

Gets welcome member popup script
PARAMETERS:
$container = object
$visitor = object
RETURN VALUE:
string = welcome member popup script

PageHead PHP Variables

🔎︎ %l4610%




DMCA.com Protection Status Authorize.net
Valid HTML! Valid CSS!


Reseller: WMT
|
Login
(502) 225-3237