Feedback
extends RowGateway
in package
implements
FeedbackEntityInterface, DbServiceAwareInterface
Uses
DbServiceAwareTrait
Class Feedback
Tags
Interfaces, Classes, Traits and Enums
- FeedbackEntityInterface
- Entity model interface for feedback table
- DbServiceAwareInterface
- Marker interface for classes that depend on the \VuFind\Db\Service\PluginManager
Table of Contents
- $created : string
- $form_data : string
- $form_name : string
- $id : int
- $message : string
- $site_url : string
- $status : string
- $updated : string
- $updated_by : int
- $user_id : int
- $dbServiceManager : PluginManager
- Database service plugin manager
- __construct() : mixed
- Constructor
- getCreated() : DateTime
- Created getter
- getDbService() : T
- Get a database service object.
- getDbServiceManager() : PluginManager
- Get the service plugin manager. Throw an exception if it is missing.
- getFormData() : array<string|int, mixed>
- Form data getter
- getFormName() : string
- Form name getter
- getId() : int
- Id getter
- getMessage() : string
- Message getter
- getPrimaryKeyColumn() : array<string|int, mixed>
- Retrieve primary key information.
- getSiteUrl() : string
- Site URL getter
- getStatus() : string
- Status getter
- getUpdated() : DateTime
- Updated getter
- getUpdatedBy() : UserEntityInterface|null
- Updatedby getter
- getUser() : UserEntityInterface|null
- User getter
- setCreated() : FeedbackEntityInterface
- Created setter.
- setDbServiceManager() : void
- Set the service plugin manager.
- setFormData() : FeedbackEntityInterface
- Form data setter.
- setFormName() : FeedbackEntityInterface
- Form name setter.
- setMessage() : FeedbackEntityInterface
- Message setter
- setSiteUrl() : FeedbackEntityInterface
- Site URL setter.
- setStatus() : FeedbackEntityInterface
- Status setter.
- setUpdated() : FeedbackEntityInterface
- Updated setter.
- setUpdatedBy() : FeedbackEntityInterface
- Updatedby setter.
- setUser() : FeedbackEntityInterface
- User setter.
Properties
$created
public
string
$created
$form_data
public
string
$form_data
$form_name
public
string
$form_name
$id
public
int
$id
$message
public
string
$message
$site_url
public
string
$site_url
$status
public
string
$status
$updated
public
string
$updated
$updated_by
public
int
$updated_by
$user_id
public
int
$user_id
$dbServiceManager
Database service plugin manager
protected
PluginManager
$dbServiceManager
Methods
__construct()
Constructor
public
__construct(Adapter $adapter) : mixed
Parameters
- $adapter : Adapter
-
Database adapter
Return values
mixed —getCreated()
Created getter
public
getCreated() : DateTime
Return values
DateTime —getDbService()
Get a database service object.
public
getDbService(class-string<\VuFind\Db\Service\T> $name) : T
Parameters
- $name : class-string<\VuFind\Db\Service\T>
-
Name of service to retrieve
Tags
Return values
T —getDbServiceManager()
Get the service plugin manager. Throw an exception if it is missing.
public
getDbServiceManager() : PluginManager
Tags
Return values
PluginManager —getFormData()
Form data getter
public
getFormData() : array<string|int, mixed>
Return values
array<string|int, mixed> —getFormName()
Form name getter
public
getFormName() : string
Return values
string —getId()
Id getter
public
getId() : int
Return values
int —getMessage()
Message getter
public
getMessage() : string
Return values
string —getPrimaryKeyColumn()
Retrieve primary key information.
public
getPrimaryKeyColumn() : array<string|int, mixed>
Return values
array<string|int, mixed> —getSiteUrl()
Site URL getter
public
getSiteUrl() : string
Return values
string —getStatus()
Status getter
public
getStatus() : string
Return values
string —getUpdated()
Updated getter
public
getUpdated() : DateTime
Return values
DateTime —getUpdatedBy()
Updatedby getter
public
getUpdatedBy() : UserEntityInterface|null
Return values
UserEntityInterface|null —getUser()
User getter
public
getUser() : UserEntityInterface|null
Return values
UserEntityInterface|null —setCreated()
Created setter.
public
setCreated(DateTime $dateTime) : FeedbackEntityInterface
Parameters
- $dateTime : DateTime
-
Created date
Return values
FeedbackEntityInterface —setDbServiceManager()
Set the service plugin manager.
public
setDbServiceManager(PluginManager $manager) : void
Parameters
- $manager : PluginManager
-
Plugin manager
Return values
void —setFormData()
Form data setter.
public
setFormData(array<string|int, mixed> $data) : FeedbackEntityInterface
Parameters
- $data : array<string|int, mixed>
-
Form data
Return values
FeedbackEntityInterface —setFormName()
Form name setter.
public
setFormName(string $name) : FeedbackEntityInterface
Parameters
- $name : string
-
Form name
Return values
FeedbackEntityInterface —setMessage()
Message setter
public
setMessage(string $message) : FeedbackEntityInterface
Parameters
- $message : string
-
Message
Return values
FeedbackEntityInterface —setSiteUrl()
Site URL setter.
public
setSiteUrl(string $url) : FeedbackEntityInterface
Parameters
- $url : string
-
Site URL
Return values
FeedbackEntityInterface —setStatus()
Status setter.
public
setStatus(string $status) : FeedbackEntityInterface
Parameters
- $status : string
-
Status
Return values
FeedbackEntityInterface —setUpdated()
Updated setter.
public
setUpdated(DateTime $dateTime) : FeedbackEntityInterface
Parameters
- $dateTime : DateTime
-
Last update date
Return values
FeedbackEntityInterface —setUpdatedBy()
Updatedby setter.
public
setUpdatedBy(UserEntityInterface|null $user) : FeedbackEntityInterface
Parameters
- $user : UserEntityInterface|null
-
User that updated request
Return values
FeedbackEntityInterface —setUser()
User setter.
public
setUser(UserEntityInterface|null $user) : FeedbackEntityInterface
Parameters
- $user : UserEntityInterface|null
-
User that created request