OaiResumption
extends RowGateway
in package
implements
OaiResumptionEntityInterface
Row Definition for oai_resumption
Tags
Interfaces, Classes, Traits and Enums
- OaiResumptionEntityInterface
- Entity model interface for oai_resumption table
Table of Contents
- $expires : string
- $id : int
- $params : string
- __construct() : mixed
- Constructor
- getExpiry() : DateTime
- Get expiry date.
- getId() : int
- Id getter
- getPrimaryKeyColumn() : array<string|int, mixed>
- Retrieve primary key information.
- getResumptionParameters() : string|null
- Get resumption parameters.
- restoreParams() : array<string|int, mixed>
- Extract an array of parameters from the object.
- saveParams() : void
- Encode an array of parameters into the object.
- setExpiry() : OaiResumptionEntityInterface
- Expiry date setter.
- setResumptionParameters() : OaiResumptionEntityInterface
- Resumption parameters setter
Properties
$expires
public
string
$expires
$id
public
int
$id
$params
public
string
$params
Methods
__construct()
Constructor
public
__construct(Adapter $adapter) : mixed
Parameters
- $adapter : Adapter
-
Database adapter
Return values
mixed —getExpiry()
Get expiry date.
public
getExpiry() : DateTime
Return values
DateTime —getId()
Id getter
public
getId() : int
Return values
int —getPrimaryKeyColumn()
Retrieve primary key information.
public
getPrimaryKeyColumn() : array<string|int, mixed>
Return values
array<string|int, mixed> —getResumptionParameters()
Get resumption parameters.
public
getResumptionParameters() : string|null
Return values
string|null —restoreParams()
Extract an array of parameters from the object.
public
restoreParams() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —Original saved parameters.
saveParams()
Encode an array of parameters into the object.
public
saveParams(array<string|int, mixed> $params) : void
Parameters
- $params : array<string|int, mixed>
-
Parameters to save.
Tags
Return values
void —setExpiry()
Expiry date setter.
public
setExpiry(DateTime $dateTime) : OaiResumptionEntityInterface
Parameters
- $dateTime : DateTime
-
Expiration date
Return values
OaiResumptionEntityInterface —setResumptionParameters()
Resumption parameters setter
public
setResumptionParameters(string|null $params) : OaiResumptionEntityInterface
Parameters
- $params : string|null
-
Resumption parameters.