PageTools
in package
uses
TraitPage
Table of Contents
Properties
Methods
- __construct() : mixed
- getAttToUrl() : string
- Gets all saAtt-Vars as url, needed for Ajax-Tricks
- getCurlExec() : bool|string
- getPageInstance() : Page
- replaceAboutPage() : string
Properties
$page
private
Page
$page
Methods
__construct()
public
__construct() : mixed
getAttToUrl()
Gets all saAtt-Vars as url, needed for Ajax-Tricks
public
getAttToUrl(string $file, array<string|int, mixed> $saAtt[, int $nPos = 0 ]) : string
Parameters
- $file : string
- $saAtt : array<string|int, mixed>
- $nPos : int = 0
Return values
stringgetCurlExec()
public
getCurlExec(string $url) : bool|string
Parameters
- $url : string
Return values
bool|stringgetPageInstance()
public
getPageInstance() : Page
Return values
PagereplaceAboutPage()
public
replaceAboutPage(string $page) : string
Parameters
- $page : string