PageTools
in package
uses
TraitData, TraitPage
Table of Contents
Properties
Methods
- __construct() : mixed
- getAttToUrl() : string
- Gets all saAtt-Vars to set them to their seo url
- getCurlExec() : bool|string
- getDataInstance() : Data
- getPageInstance() : Page
- generateQueryString() : string
- getSeoLink() : string
Properties
$page
private
Page
$page
Methods
__construct()
public
__construct() : mixed
getAttToUrl()
Gets all saAtt-Vars to set them to their seo url
public
getAttToUrl([array<string|int, mixed> $getParas = [] ][, string $file = '' ]) : string
Parameters
- $getParas : array<string|int, mixed> = []
- $file : string = ''
Return values
stringgetCurlExec()
public
getCurlExec(string $url) : bool|string
Parameters
- $url : string
Return values
bool|stringgetDataInstance()
public
getDataInstance() : Data
Return values
DatagetPageInstance()
public
getPageInstance() : Page
Return values
PagegenerateQueryString()
private
generateQueryString(array<string|int, mixed> $saAtt, int|null $nPos, string $strUrl) : string
Parameters
- $saAtt : array<string|int, mixed>
- $nPos : int|null
- $strUrl : string
Return values
stringgetSeoLink()
private
getSeoLink(string $file) : string
Parameters
- $file : string