HtmlAjaxMore
in package
FinalYes
Table of Contents
Properties
- $ajaxBox : string
- $linkAndBox : string
- $linkOpen : string
- $navTitle : string
- $jsonData : array<string|int, mixed>
Methods
- __construct() : mixed
- getBox() : array{'LinkOpen': string, 'AjaxBox': string}
- Returns the ajax-more link with data-gb-ajax* Used for embedded lists on/off
- initFileNameForAjax() : string|null
- setBoxVals() : void
Properties
$ajaxBox
public
string
$ajaxBox
= ''
$linkAndBox
public
string
$linkAndBox
= ''
$linkOpen
public
string
$linkOpen
= ''
$navTitle
public
string
$navTitle
= ''
$jsonData
private
array<string|int, mixed>
$jsonData
= []
Methods
__construct()
public
__construct() : mixed
getBox()
Returns the ajax-more link with data-gb-ajax* Used for embedded lists on/off
public
getBox(mixed $aID[, string $strAction = '' ][, array<string|int, mixed> $saJson = [] ][, string $strNavTitle = '' ]) : array{'LinkOpen': string, 'AjaxBox': string}
Parameters
- $aID : mixed
-
- data-gb-id
- $strAction : string = ''
-
- data-gb-action
- $saJson : array<string|int, mixed> = []
-
- data-gb-json
- $strNavTitle : string = ''
-
- if empty use getLng('More')
Return values
array{'LinkOpen': string, 'AjaxBox': string}initFileNameForAjax()
public
initFileNameForAjax([string $checkFile = '' ]) : string|null
Parameters
- $checkFile : string = ''
Return values
string|nullsetBoxVals()
public
setBoxVals([int|null $nPos = 0 ]) : void
Parameters
- $nPos : int|null = 0
-
func_get_args: int $nMaxRows int $intAnzRow int $bPast array $saAtt string $file