Documentation

ConnectionSaving
in package

FinalYes

Class ConnectionSaving Class for saving connection data

Table of Contents

Properties

$database  : Database
$datetime  : DateTime
$serverId  : int

Methods

__construct()  : mixed
ConnectionSaving constructor.
add()  : int
changeDatabase()  : mixed
changeDateTime()  : mixed
changeServerId()  : mixed
attributes()  : array<string|int, mixed>
Returns an array of column names mapped to their respective
attributesTypes()  : array<string|int, mixed>
Returns an array of column names mapped to their respective
dataStructure()  : array<string|int, mixed>
getIdServerByIp()  : int

Properties

Methods

add()

public static add(array<string|int, mixed> $browserDetector, array<string|int, mixed> $connectionInformation, array<string|int, mixed> $botDetector) : int
Parameters
$browserDetector : array<string|int, mixed>
$connectionInformation : array<string|int, mixed>
$botDetector : array<string|int, mixed>
Tags
throws
Exception
Return values
int

changeServerId()

public static changeServerId(int $serverId) : mixed
Parameters
$serverId : int

attributes()

Returns an array of column names mapped to their respective

protected static attributes() : array<string|int, mixed>
Return values
array<string|int, mixed>

attributesTypes()

Returns an array of column names mapped to their respective

protected static attributesTypes() : array<string|int, mixed>
Return values
array<string|int, mixed>

dataStructure()

private static dataStructure(array<string|int, mixed> $browserDetector, array<string|int, mixed> $connectionInformation, array<string|int, mixed> $botDetector) : array<string|int, mixed>
Parameters
$browserDetector : array<string|int, mixed>
$connectionInformation : array<string|int, mixed>
$botDetector : array<string|int, mixed>
Return values
array<string|int, mixed>

getIdServerByIp()

private static getIdServerByIp() : int
Return values
int
On this page

Search results