VersionAwareTrait
Logic for record versions support.
Tags
Table of Contents
- $otherVersions : RecordCollectionInterface
- Cached result of other versions (work expressions)
- $otherVersionsCount : int
- Cached result of other versions (work expressions) count
- getOtherVersionCount() : int
- Return count of other versions available
- getVersions() : RecordCollectionInterface
- Retrieve versions as a search result
Properties
$otherVersions
Cached result of other versions (work expressions)
protected
RecordCollectionInterface
$otherVersions
$otherVersionsCount
Cached result of other versions (work expressions) count
protected
int
$otherVersionsCount
= null
Methods
getOtherVersionCount()
Return count of other versions available
public
getOtherVersionCount() : int
Return values
int —getVersions()
Retrieve versions as a search result
public
getVersions([bool $includeSelf = false ][, int $count = 20 ], int $offset) : RecordCollectionInterface
Parameters
- $includeSelf : bool = false
-
Whether to include this record
- $count : int = 20
-
Maximum number of records to display
- $offset : int
-
Start position (0-based)