VuFind API Documentation

VersionAwareTrait

Logic for record versions support.

Tags
category

VuFind

author

Ere Maijala ere.maijala@helsinki.fi

license

http://opensource.org/licenses/gpl-2.0.php GNU General Public License

link

Main Site

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

$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)

Return values
RecordCollectionInterface

Search results