Constraint

Constraints for log entries

Internal

This class is a TYPO3 Backend implementation and is not considered part of the Public TYPO3 API.

Table of Contents

Properties

$channel  : string
Selected channel
$depth  : int
Page level depth
$endTimestamp  : int
Calculated end timestamp
$level  : string
Selected level
$manualDateStart  : DateTime|null
Manual date start
$manualDateStop  : DateTime|null
Manual date stop
$number  : int
Number of log rows to show
$pageId  : int
Selected page ID in page context
$startTimestamp  : int
Calculated start timestamp
$userOrGroup  : string
Selected user/group; possible values are "gr-<uid>" for a group, "us-<uid>" for a user or -1 for "all users"
$workspaceUid  : int
UID of selected workspace

Methods

getChannel()  : string
getDepth()  : int
getEndTimestamp()  : int
getLevel()  : string
getManualDateStart()  : DateTime|null
getManualDateStop()  : DateTime|null
getNumber()  : int
getPageId()  : int
getStartTimestamp()  : int
getUserOrGroup()  : string
getWorkspaceUid()  : int
setChannel()  : void
setDepth()  : void
setEndTimestamp()  : void
setLevel()  : void
setManualDateStart()  : void
setManualDateStop()  : void
setNumber()  : void
setPageId()  : void
setStartTimestamp()  : void
setUserOrGroup()  : void
setWorkspaceUid()  : void

Properties

$channel

Selected channel

protected string $channel = ''

$depth

Page level depth

protected int $depth = 0

$endTimestamp

Calculated end timestamp

protected int $endTimestamp = 0

$level

Selected level

protected string $level = \Psr\Log\LogLevel::DEBUG

$manualDateStart

Manual date start

protected DateTime|null $manualDateStart = null

$manualDateStop

Manual date stop

protected DateTime|null $manualDateStop = null

$number

Number of log rows to show

protected int $number = 20

$pageId

Selected page ID in page context

protected int $pageId = 0

$startTimestamp

Calculated start timestamp

protected int $startTimestamp = 0

$userOrGroup

Selected user/group; possible values are "gr-<uid>" for a group, "us-<uid>" for a user or -1 for "all users"

protected string $userOrGroup = '0'

$workspaceUid

UID of selected workspace

protected int $workspaceUid = -99

Methods

getChannel()

public getChannel() : string
Return values
string

getDepth()

public getDepth() : int
Return values
int

getEndTimestamp()

public getEndTimestamp() : int
Return values
int

getLevel()

public getLevel() : string
Return values
string

getManualDateStart()

public getManualDateStart() : DateTime|null
Return values
DateTime|null

getManualDateStop()

public getManualDateStop() : DateTime|null
Return values
DateTime|null

getNumber()

public getNumber() : int
Return values
int

getPageId()

public getPageId() : int
Return values
int

getStartTimestamp()

public getStartTimestamp() : int
Return values
int

getUserOrGroup()

public getUserOrGroup() : string
Return values
string

getWorkspaceUid()

public getWorkspaceUid() : int
Return values
int

setChannel()

public setChannel(string $channel) : void
Parameters
$channel : string

setDepth()

public setDepth(int $depth) : void
Parameters
$depth : int

setEndTimestamp()

public setEndTimestamp(int $timestamp) : void
Parameters
$timestamp : int

setLevel()

public setLevel(string $level) : void
Parameters
$level : string

setManualDateStart()

public setManualDateStart([DateTime|null $manualDateStart = null ]) : void
Parameters
$manualDateStart : DateTime|null = null

setManualDateStop()

public setManualDateStop([DateTime|null $manualDateStop = null ]) : void
Parameters
$manualDateStop : DateTime|null = null

setNumber()

public setNumber(int $number) : void
Parameters
$number : int

setPageId()

public setPageId(int|null $id) : void
Parameters
$id : int|null

setStartTimestamp()

public setStartTimestamp(int $timestamp) : void
Parameters
$timestamp : int

setUserOrGroup()

public setUserOrGroup(string $user) : void
Parameters
$user : string

setWorkspaceUid()

public setWorkspaceUid(int $workspace) : void
Parameters
$workspace : int

        
On this page

Search results