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
Get channel
getDepth()  : int
Get page level depth
getEndTimestamp()  : int
Get calculated end timestamp from query constraints
getLevel()  : string
Get level
getManualDateStart()  : DateTime|null
Get manual date start
getManualDateStop()  : DateTime|null
Get manual date stop
getNumber()  : int
Get number of log entries to show
getPageId()  : int
Get page id
getStartTimestamp()  : int
Get calculated start timestamp from query constraints
getUserOrGroup()  : string
Get user
getWorkspaceUid()  : int
Get workspace
setChannel()  : void
Set channel
setDepth()  : mixed
Set page level depth
setEndTimestamp()  : mixed
Set calculated end timestamp from query constraints
setLevel()  : void
Set level
setManualDateStart()  : mixed
Set manual date start
setManualDateStop()  : mixed
Set manual date stop
setNumber()  : mixed
Set number of log rows to show
setPageId()  : mixed
Set page id
setStartTimestamp()  : mixed
Set calculated start timestamp from query constraints
setUserOrGroup()  : mixed
Set user
setWorkspaceUid()  : mixed
Set workspace

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

$manualDateStop

Manual date stop

protected DateTime|null $manualDateStop

$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 = \TYPO3\CMS\Belog\Domain\Model\Workspace::UID_ANY_WORKSPACE

Methods

getChannel()

Get channel

public getChannel() : string
Return values
string

getDepth()

Get page level depth

public getDepth() : int
Return values
int

getEndTimestamp()

Get calculated end timestamp from query constraints

public getEndTimestamp() : int
Return values
int

getLevel()

Get level

public getLevel() : string
Return values
string

getManualDateStart()

Get manual date start

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

getManualDateStop()

Get manual date stop

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

getNumber()

Get number of log entries to show

public getNumber() : int
Return values
int

getPageId()

Get page id

public getPageId() : int
Return values
int

getStartTimestamp()

Get calculated start timestamp from query constraints

public getStartTimestamp() : int
Return values
int

getUserOrGroup()

Get user

public getUserOrGroup() : string
Return values
string

getWorkspaceUid()

Get workspace

public getWorkspaceUid() : int
Return values
int

setChannel()

Set channel

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

setDepth()

Set page level depth

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

setEndTimestamp()

Set calculated end timestamp from query constraints

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

setLevel()

Set level

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

setManualDateStart()

Set manual date start

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

setManualDateStop()

Set manual date stop

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

setNumber()

Set number of log rows to show

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

setPageId()

Set page id

public setPageId(int $id) : mixed
Parameters
$id : int

setStartTimestamp()

Set calculated start timestamp from query constraints

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

setUserOrGroup()

Set user

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

setWorkspaceUid()

Set workspace

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

        
On this page

Search results