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
$context read-only
protected
IDatabaseContext
$context
$logger read-only
ロガー。
protected
ILogger
$logger
Methods
__construct()
public
__construct(IDatabaseContext $context) : mixed
Parameters
- $context : IDatabaseContext
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
Return values
DatabaseTableResultselectAuditLogsPageItemsFromUserId()
Undocumented function
public
selectAuditLogsPageItemsFromUserId(string $userId, int $index, int $count) : DatabaseTableResult
Parameters
- $userId : string
- $index : int
- $count : int
Tags
Return values
DatabaseTableResultselectAuditLogsPageTotalCountFromUserId()
Undocumented function
public
selectAuditLogsPageTotalCountFromUserId(string $userId) : int
Parameters
- $userId : string
Tags
Return values
intselectLastLogId()
public
selectLastLogId() : int