Docs Goabase

AjaxLink
in package
uses TraitEmbed

Read onlyYes
FinalYes

Table of Contents

Methods

__construct()  : mixed
ajaxEmbedFound()  : string
getAjaxLink()  : string
Creates an ajax-more-link
getEmbedInstance()  : Embed
getFaqLink()  : string
Helper Create faq-link, to open a box
loginBox()  : string

Methods

__construct()

public __construct() : mixed

ajaxEmbedFound()

public ajaxEmbedFound(string $jsData) : string
Parameters
$jsData : string
Return values
string

Creates an ajax-more-link

public getAjaxLink(string $faqId[, string $action = 'faq' ][, array<string|int, mixed> $arr = [] ][, string $css = '' ]) : string
Parameters
$faqId : string
  • for data-gb-id
$action : string = 'faq'
  • for data-gb-action
$arr : array<string|int, mixed> = []
  • for jsData
$css : string = ''
Return values
string

Helper Create faq-link, to open a box

public getFaqLink(string $strContent) : string

syntax for placeholder: {faq:128}

Parameters
$strContent : string
Return values
string

loginBox()

public loginBox() : string
Return values
string

        
On this page

Search results