VuFind API Documentation

FeedbackServiceInterface extends DbServiceInterface

Database service interface for feedback.

Tags
category

VuFind

author

Demian Katz demian.katz@villanova.edu

license

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

link

Wiki

Table of Contents

createEntity()  : FeedbackEntityInterface
Create a feedback entity object.
deleteByIdArray()  : int
Delete feedback by ids
getFeedbackById()  : FeedbackEntityInterface|null
Fetch a feedback entity by ID.
getFeedbackPaginator()  : Paginator
Get feedback by filter
getUniqueColumn()  : array<string|int, mixed>
Get unique values for a column of the feedback table
persistEntity()  : void
Persist an entity.

Methods

deleteByIdArray()

Delete feedback by ids

public deleteByIdArray(array<string|int, mixed> $ids) : int
Parameters
$ids : array<string|int, mixed>

IDs

Return values
int

Count of deleted rows

getFeedbackPaginator()

Get feedback by filter

public getFeedbackPaginator([string|null $formName = null ][, string|null $siteUrl = null ][, string|null $status = null ][, int|null $page = null ][, int $limit = 20 ]) : Paginator
Parameters
$formName : string|null = null

Form name (optional filter)

$siteUrl : string|null = null

Site URL (optional filter)

$status : string|null = null

Current status (optional filter)

$page : int|null = null

Current page (optional)

$limit : int = 20

Limit per page

Return values
Paginator

getUniqueColumn()

Get unique values for a column of the feedback table

public getUniqueColumn(string $column) : array<string|int, mixed>
Parameters
$column : string

Column name

Return values
array<string|int, mixed>

Search results