VuFind API Documentation

ResourceTags extends RowGateway
in package
implements ResourceTagsEntityInterface, DbTableAwareInterface, DbServiceAwareInterface Uses DbTableAwareTrait, DbServiceAwareTrait

Row Definition for resource_tags

Tags
category

VuFind

author

Demian Katz demian.katz@villanova.edu

license

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

link

Main Site

Interfaces, Classes, Traits and Enums

ResourceTagsEntityInterface
Entity model interface for resource_tags table
DbTableAwareInterface
Marker interface for classes that depend on the \VuFind\Db\Table\PluginManager
DbServiceAwareInterface
Marker interface for classes that depend on the \VuFind\Db\Service\PluginManager

Table of Contents

$id  : int
$list_id  : int
$posted  : string
$resource_id  : int
$tag_id  : int
$user_id  : int
$dbServiceManager  : PluginManager
Database service plugin manager
$tableManager  : PluginManager
Database table plugin manager
__construct()  : mixed
Constructor
getDbService()  : T
Get a database service object.
getDbServiceManager()  : PluginManager
Get the service plugin manager. Throw an exception if it is missing.
getDbTable()  : Gateway
Get a database table object.
getDbTableManager()  : PluginManager
Get the table plugin manager. Throw an exception if it is missing.
getId()  : int|null
Get identifier (returns null for an uninitialized or non-persisted object).
getPosted()  : DateTime
Get created date.
getPrimaryKeyColumn()  : array<string|int, mixed>
Retrieve primary key information.
getResource()  : ResourceEntityInterface|null
Get resource.
getTag()  : TagsEntityInterface
Get tag.
getUser()  : UserEntityInterface|null
Get user.
getUserList()  : UserListEntityInterface|null
Get user list.
setDbServiceManager()  : void
Set the service plugin manager.
setDbTableManager()  : void
Set the table plugin manager.
setPosted()  : ResourceTagsEntityInterface
Set created date.
setResource()  : ResourceTagsEntityInterface
Set resource.
setTag()  : ResourceTagsEntityInterface
Set tag.
setUser()  : ResourceTagsEntityInterface
Set user.
setUserList()  : ResourceTagsEntityInterface
Set user list.

Properties

Methods

__construct()

Constructor

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

Database adapter

Return values
mixed

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
template

T

Return values
T

getDbTable()

Get a database table object.

public getDbTable(string $table) : Gateway
Parameters
$table : string

Table to load.

Return values
Gateway

getId()

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

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

getPosted()

Get created date.

public getPosted() : DateTime
Return values
DateTime

getPrimaryKeyColumn()

Retrieve primary key information.

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

Search results