TYPO3  7.6
Public Member Functions | Protected Attributes | List of all members
Constraint Class Reference
Inheritance diagram for Constraint:
AbstractEntity AbstractDomainObject DomainObjectInterface ObjectMonitoringInterface

Public Member Functions

 __construct ()
 
 __wakeup ()
 
 setUserOrGroup ($user)
 
 getUserOrGroup ()
 
 setNumber ($number)
 
 getNumber ()
 
 setWorkspaceUid ($workspace)
 
 getWorkspaceUid ()
 
 setTimeFrame ($timeFrame)
 
 getTimeFrame ()
 
 setAction ($action)
 
 getAction ()
 
 setGroupByPage ($groupByPage)
 
 getGroupByPage ()
 
 setStartTimestamp ($timestamp)
 
 getStartTimestamp ()
 
 setEndTimestamp ($timestamp)
 
 getEndTimestamp ()
 
 setIsInPageContext ($pageContext)
 
 getIsInPageContext ()
 
 setPageId ($id)
 
 getPageId ()
 
 setDepth ($depth)
 
 getDepth ()
 
 setManualDateStart (\DateTime $manualDateStart=null)
 
 getManualDateStart ()
 
 setManualDateStop (\DateTime $manualDateStop=null)
 
 getManualDateStop ()
 

Protected Attributes

 $userOrGroup = '0'
 
 $number = 20
 
 $workspaceUid = \TYPO3\CMS\Belog\Domain\Model\Workspace::UID_ANY_WORKSPACE
 
 $timeFrame = 0
 
 $action = 0
 
 $groupByPage = false
 
 $startTimestamp = 0
 
 $endTimestamp = 0
 
 $manualDateStart = null
 
 $manualDateStop = null
 
 $isInPageContext = false
 
 $pageId = 0
 
 $depth = 0
 

Additional Inherited Members

- Protected Member Functions inherited from AbstractDomainObject
 isPropertyDirty ($previousValue, $currentValue)
 

Detailed Description

Constraints for log entries

Definition at line 20 of file Constraint.php.

Constructor & Destructor Documentation

__construct ( )

Default constructor

Definition at line 114 of file Constraint.php.

Member Function Documentation

__wakeup ( )

added to prevent the deprecation message in Extbase

Todo:
the constraints model needs another way of storing persisted search data than serialisation

Definition at line 125 of file Constraint.php.

getAction ( )

Get action

Returns
int

Definition at line 229 of file Constraint.php.

References Constraint\$action.

getDepth ( )

Get page level depth

Returns
int

Definition at line 355 of file Constraint.php.

References Constraint\$depth.

getEndTimestamp ( )

Get calculated end timestamp from query constraints

Returns
int

Definition at line 292 of file Constraint.php.

References Constraint\$endTimestamp.

getGroupByPage ( )

Get group by page

Returns
bool

Definition at line 250 of file Constraint.php.

References Constraint\$groupByPage.

getIsInPageContext ( )

Get page context

Returns
bool

Definition at line 313 of file Constraint.php.

References Constraint\$isInPageContext.

getManualDateStart ( )

Get manual date start

Returns

Definition at line 376 of file Constraint.php.

References Constraint\$manualDateStart.

getManualDateStop ( )

Get manual date stop

Returns

Definition at line 397 of file Constraint.php.

References Constraint\$manualDateStop.

getNumber ( )

Get number of log entries to show

Returns
int

Definition at line 166 of file Constraint.php.

References Constraint\$number.

getPageId ( )

Get page id

Returns
int

Definition at line 334 of file Constraint.php.

References Constraint\$pageId.

getStartTimestamp ( )

Get calculated start timestamp from query constraints

Returns
int

Definition at line 271 of file Constraint.php.

References Constraint\$startTimestamp.

getTimeFrame ( )

Get time frame

Returns
int

Definition at line 208 of file Constraint.php.

References Constraint\$timeFrame.

getUserOrGroup ( )

Get user

Returns
string

Definition at line 145 of file Constraint.php.

References Constraint\$userOrGroup.

getWorkspaceUid ( )

Get workspace

Returns
string

Definition at line 187 of file Constraint.php.

References Constraint\$workspaceUid.

setAction (   $action)

Set action

Parameters
int$action
Returns
void

Definition at line 219 of file Constraint.php.

References Constraint\$action.

setDepth (   $depth)

Set page level depth

Parameters
int$depth
Returns
void

Definition at line 345 of file Constraint.php.

References Constraint\$depth.

setEndTimestamp (   $timestamp)

Set calculated end timestamp from query constraints

Parameters
int$timestamp
Returns
void

Definition at line 282 of file Constraint.php.

setGroupByPage (   $groupByPage)

Set group by page

Parameters
bool$groupByPage
Returns
void

Definition at line 240 of file Constraint.php.

References Constraint\$groupByPage.

setIsInPageContext (   $pageContext)

Set page context

Parameters
bool$pageContext
Returns
void

Definition at line 303 of file Constraint.php.

setManualDateStart ( \DateTime  $manualDateStart = null)

Set manual date start

Parameters
\DateTime$manualDateStart
Returns
void

Definition at line 366 of file Constraint.php.

References Constraint\$manualDateStart.

setManualDateStop ( \DateTime  $manualDateStop = null)

Set manual date stop

Parameters
\DateTime$manualDateStop
Returns
void

Definition at line 387 of file Constraint.php.

References Constraint\$manualDateStop.

setNumber (   $number)

Set number of log rows to show

Parameters
int$number
Returns
void

Definition at line 156 of file Constraint.php.

References Constraint\$number.

setPageId (   $id)

Set page id

Parameters
int$id
Returns
void

Definition at line 324 of file Constraint.php.

setStartTimestamp (   $timestamp)

Set calculated start timestamp from query constraints

Parameters
int$timestamp
Returns
void

Definition at line 261 of file Constraint.php.

setTimeFrame (   $timeFrame)

Set time frame

Parameters
int$timeFrame
Returns
void

Definition at line 198 of file Constraint.php.

References Constraint\$timeFrame.

setUserOrGroup (   $user)

Set user

Parameters
string$user
Returns
void

Definition at line 135 of file Constraint.php.

setWorkspaceUid (   $workspace)

Set workspace

Parameters
string$workspace
Returns
void

Definition at line 177 of file Constraint.php.

Member Data Documentation

$action = 0
protected

Definition at line 55 of file Constraint.php.

Referenced by Constraint\getAction(), and Constraint\setAction().

$depth = 0
protected

Definition at line 109 of file Constraint.php.

Referenced by Constraint\getDepth(), and Constraint\setDepth().

$endTimestamp = 0
protected

Definition at line 76 of file Constraint.php.

Referenced by Constraint\getEndTimestamp().

$groupByPage = false
protected

Definition at line 62 of file Constraint.php.

Referenced by Constraint\getGroupByPage(), and Constraint\setGroupByPage().

$isInPageContext = false
protected

Definition at line 95 of file Constraint.php.

Referenced by Constraint\getIsInPageContext().

$manualDateStart = null
protected

Definition at line 82 of file Constraint.php.

Referenced by Constraint\getManualDateStart(), and Constraint\setManualDateStart().

$manualDateStop = null
protected

Definition at line 88 of file Constraint.php.

Referenced by Constraint\getManualDateStop(), and Constraint\setManualDateStop().

$number = 20
protected

Definition at line 34 of file Constraint.php.

Referenced by Constraint\getNumber(), and Constraint\setNumber().

$pageId = 0
protected

Definition at line 102 of file Constraint.php.

Referenced by Constraint\getPageId().

$startTimestamp = 0
protected

Definition at line 69 of file Constraint.php.

Referenced by Constraint\getStartTimestamp().

$timeFrame = 0
protected

Definition at line 48 of file Constraint.php.

Referenced by Constraint\getTimeFrame(), and Constraint\setTimeFrame().

$userOrGroup = '0'
protected

Definition at line 27 of file Constraint.php.

Referenced by Constraint\getUserOrGroup().

Definition at line 41 of file Constraint.php.

Referenced by Constraint\getWorkspaceUid().