PeServer

UserAuditLogsEntityDao extends DaoBase
in package
uses DaoTrait

DBアクセス基底処理。

こいつを継承してアクセス処理を構築する。

Table of Contents

Properties

$context  : IDatabaseContext
$logger  : ILogger
ロガー。

Methods

__construct()  : mixed
insertLog()  : void
selectAuditLogsFromUserId()  : DatabaseTableResult
Undocumented function
selectAuditLogsPageItemsFromUserId()  : DatabaseTableResult
Undocumented function
selectAuditLogsPageTotalCountFromUserId()  : int
Undocumented function
selectLastLogId()  : int

Properties

Methods

insertLog()

public insertLog(string $userId, string $event, string $info, string $ipAddress, string $userAgent) : void
Parameters
$userId : string
$event : string
$info : string
$ipAddress : string
$userAgent : string

selectAuditLogsFromUserId()

Undocumented function

public selectAuditLogsFromUserId(string $userId) : DatabaseTableResult
Parameters
$userId : string
Tags
template

TFieldArray of array{timestamp:string,event:string,info:string,ip_address:string,user_agent:string}

phpstan-return

DatabaseTableResult<TFieldArray>

Return values
DatabaseTableResult

selectAuditLogsPageItemsFromUserId()

Undocumented function

public selectAuditLogsPageItemsFromUserId(string $userId, int $index, int $count) : DatabaseTableResult
Parameters
$userId : string
$index : int
$count : int
Tags
template

TFieldArray of array{timestamp:string,event:string,info:string,ip_address:string,user_agent:string}

phpstan-return

DatabaseTableResult<TFieldArray>

Return values
DatabaseTableResult

selectAuditLogsPageTotalCountFromUserId()

Undocumented function

public selectAuditLogsPageTotalCountFromUserId(string $userId) : int
Parameters
$userId : string
Tags
phpstan-return

non-negative-int

Return values
int

        
On this page

Search results