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
stringgetAjaxLink()
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
stringgetEmbedInstance()
public
getEmbedInstance() : Embed
Return values
EmbedgetFaqLink()
Helper Create faq-link, to open a box
public
getFaqLink(string $strContent) : string
syntax for placeholder: {faq:128}
Parameters
- $strContent : string
Return values
stringloginBox()
public
loginBox() : string