Documentation

Archive
in package

Table of Contents

PREPARE_DELETE  = 4
PREPARE_OK  = 1
PREPARE_UPDATE  = 2
$backupTable  : mixed
$config  : mixed
$db  : mixed
$logTableDefault  : mixed
$logTableList  : mixed
$tempTable  : mixed
__construct()  : mixed
backup()  : mixed
getConfig()  : mixed
getCurrent()  : mixed
getLogTableByStrategy()  : mixed
getLogTableByURI()  : mixed
getLogTableList()  : mixed
getOutdated()  : mixed
import()  : mixed
insertTemp()  : mixed
install()  : mixed
parse()  : mixed
updateOutdated()  : mixed
fixIndex()  : mixed
fixRollback()  : mixed
fixTemp()  : mixed
prepareData()  : mixed

Constants

PREPARE_DELETE

public mixed PREPARE_DELETE = 4

PREPARE_OK

public mixed PREPARE_OK = 1

PREPARE_UPDATE

public mixed PREPARE_UPDATE = 2

Properties

$backupTable

protected mixed $backupTable = 'backup'

$config

protected mixed $config = ['version' => 12, 'parseLimit' => 1000, 'defaultColumn' => ['type' => 'text', 'size' => null, 'visible' => false, 'groupable' => false, 'searchable' => false], 'logColumns' => ['SERVER_NAME' => ['type' => 'tinytext', 'size' => 32, 'groupable' => true], 'REQUEST_TURING' => ['type' => 'tinytext', 'size' => 8, 'groupable' => true], 'REQUEST_LANGUAGE' => ['type' => 'tinytext', 'size' => 8, 'groupable' => true], 'REQUEST_TIME_DATE' => ['type' => 'tinytext', 'size' => 17, 'visible' => true, 'searchable' => true], 'RESPONSE_TIME' => ['type' => 'double', 'visible' => true], 'RESPONSE_MEMORY' => ['type' => 'float', 'visible' => true], 'REMOTE_ADDR' => ['type' => 'tinytext', 'size' => 15, 'visible' => true, 'searchable' => true], 'RESPONSE_STATUS' => [ 'type' => 'smallint', 'visible' => true, // 'groupable' => true, 'searchable' => true, ], 'REQUEST_METHOD' => [ 'type' => 'tinytext', 'size' => 8, 'visible' => true, // 'groupable' => true, 'searchable' => true, ], 'HTTP_HOST' => [ 'type' => 'tinytext', 'size' => 32, 'visible' => true, // 'groupable' => true, 'searchable' => true, ], 'REQUEST_URI' => ['type' => 'text', 'size' => 128, 'visible' => true, 'searchable' => true], 'HTTP_USER_AGENT' => ['type' => 'text', 'size' => 128, 'visible' => true, 'searchable' => true], 'HTTP_ACCEPT_LANGUAGE' => ['type' => 'text', 'size' => 32, 'visible' => true, 'searchable' => true], 'RESPONSE_LANGUAGE' => [ 'type' => 'tinytext', 'size' => 5, 'visible' => true, // 'groupable' => true, 'searchable' => true, ], 'HTTP_ACCEPT' => ['type' => 'text', 'size' => 128, 'visible' => true, 'searchable' => true], 'RESPONSE_TYPE' => [ 'type' => 'tinytext', 'size' => 32, 'visible' => true, // 'groupable' => true, 'searchable' => true, ], 'HTTP_ACCEPT_ENCODING' => ['type' => 'text', 'size' => 32, 'visible' => true, 'searchable' => true], 'RESPONSE_ENCODING' => [ 'type' => 'tinytext', 'size' => 8, 'visible' => true, // 'groupable' => true, 'searchable' => true, ], 'HTTP_REFERER' => ['type' => 'text', 'size' => 128, 'visible' => true, 'searchable' => true], 'HTTP_FROM' => ['type' => 'text', 'size' => 128, 'visible' => true, 'searchable' => true], 'RESPONSE_INPUT' => ['type' => 'longtext', 'size' => 128, 'visible' => true, 'searchable' => true], 'HTTP_LAST_EVENT_ID' => ['type' => 'tinytext', 'size' => 8, 'visible' => true, 'searchable' => true]]]

$logTableDefault

protected mixed $logTableDefault = '/getPage.php'

$logTableList

protected mixed $logTableList = ['/getCache.php' => 'log_cache', '/getData.php' => 'log_data', '/getFragment.php' => 'log_fragment', '/getPage.php' => 'log_page', '/getResource.php' => 'log_resource', '/getScript.php' => 'log_script', '/getTemplate.php' => 'log_template', 'LookupAssetStrategy' => 'lookup_asset', 'LookupPageStrategy' => 'lookup_page', 'LookupRouteStrategy' => 'lookup_route']

$tempTable

protected mixed $tempTable = 'temp'

Methods

__construct()

public __construct(Database $db) : mixed
Parameters
$db : Database
Return values
mixed

backup()

public backup() : mixed
Return values
mixed

getConfig()

public getConfig() : mixed
Return values
mixed

getCurrent()

public getCurrent() : mixed
Return values
mixed

getLogTableByStrategy()

public getLogTableByStrategy(mixed $strategy) : mixed
Parameters
$strategy : mixed
Return values
mixed

getLogTableByURI()

public getLogTableByURI(mixed $uri) : mixed
Parameters
$uri : mixed
Return values
mixed

getLogTableList()

public getLogTableList() : mixed
Return values
mixed

getOutdated()

public getOutdated() : mixed
Return values
mixed

import()

public import() : mixed
Return values
mixed

insertTemp()

public insertTemp(mixed $time, array<string|int, mixed> $data[, mixed $id = null ]) : mixed
Parameters
$time : mixed
$data : array<string|int, mixed>
$id : mixed = null
Return values
mixed

install()

public install() : mixed
Return values
mixed

parse()

public parse() : mixed
Return values
mixed

updateOutdated()

public updateOutdated(array<string|int, mixed> $idList) : mixed
Parameters
$idList : array<string|int, mixed>
Return values
mixed

fixIndex()

protected fixIndex() : mixed
Return values
mixed

fixRollback()

protected fixRollback() : mixed
Return values
mixed

fixTemp()

protected fixTemp() : mixed
Return values
mixed

prepareData()

protected prepareData(array<string|int, mixed> &$data) : mixed
Parameters
$data : array<string|int, mixed>
Return values
mixed

Search results