VuFind API Documentation

Record extends RowGateway
in package
implements RecordEntityInterface

Row Definition for user

Tags
category

VuFind

author

Markus Beh markus.beh@ub.uni-freiburg.de

license

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

link

Main Site

Interfaces, Classes, Traits and Enums

RecordEntityInterface
Entity model interface for record table

Table of Contents

$id  : int
$record_id  : string
$source  : string
$updated  : string
$version  : string
__construct()  : mixed
Constructor
getData()  : string|null
Get record data.
getId()  : int|null
Get identifier (returns null for an uninitialized or non-persisted object).
getPrimaryKeyColumn()  : array<string|int, mixed>
Retrieve primary key information.
getRecordId()  : string|null
Get record id.
getSource()  : string|null
Get record source.
getUpdated()  : DateTime
Get updated date.
getVersion()  : string
Get record version.
setData()  : RecordEntityInterface
Set record data.
setRecordId()  : RecordEntityInterface
Set record id.
setSource()  : RecordEntityInterface
Set record source.
setUpdated()  : RecordEntityInterface
Set updated date.
setVersion()  : RecordEntityInterface
Set record version.

Properties

$record_id

public string $record_id

Methods

__construct()

Constructor

public __construct(Adapter $adapter) : mixed
Parameters
$adapter : Adapter

Database adapter

Return values
mixed

getData()

Get record data.

public getData() : string|null
Return values
string|null

getId()

Get identifier (returns null for an uninitialized or non-persisted object).

public getId() : int|null
Return values
int|null

getPrimaryKeyColumn()

Retrieve primary key information.

public getPrimaryKeyColumn() : array<string|int, mixed>
Return values
array<string|int, mixed>

getRecordId()

Get record id.

public getRecordId() : string|null
Return values
string|null

getSource()

Get record source.

public getSource() : string|null
Return values
string|null

getUpdated()

Get updated date.

public getUpdated() : DateTime
Return values
DateTime

getVersion()

Get record version.

public getVersion() : string
Return values
string

Search results