VuFind API Documentation

UserCard extends RowGateway
in package
implements DbServiceAwareInterface, UserCardEntityInterface Uses DbServiceAwareTrait

Row Definition for user_card

Tags
category

VuFind

author

Ere Maijala ere.maijala@helsinki.fi

license

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

link

Main Site

Interfaces, Classes, Traits and Enums

DbServiceAwareInterface
Marker interface for classes that depend on the \VuFind\Db\Service\PluginManager
UserCardEntityInterface
Entity model interface for user_card table

Table of Contents

$card_name  : string
$cat_pass_enc  : string|null
$cat_password  : string|null
$cat_username  : string
$created  : string
$home_library  : string|null
$id  : int
$saved  : string
$user_id  : int
$dbServiceManager  : PluginManager
Database service plugin manager
__construct()  : mixed
Constructor
getCardName()  : string
Get user card name.
getCatPassEnc()  : string|null
Get encrypted catalog password.
getCatUsername()  : string
Get catalog username.
getCreated()  : DateTime
Get created date.
getDbService()  : T
Get a database service object.
getDbServiceManager()  : PluginManager
Get the service plugin manager. Throw an exception if it is missing.
getHomeLibrary()  : string|null
Get home library.
getId()  : int|null
ID getter (returns null if the entity has not been saved/populated yet)
getPrimaryKeyColumn()  : array<string|int, mixed>
Retrieve primary key information.
getRawCatPassword()  : string|null
Get raw catalog password.
getSaved()  : DateTime
Get saved time.
getUser()  : UserEntityInterface
User getter
setCardName()  : UserCardEntityInterface
Card name setter
setCatPassEnc()  : UserCardEntityInterface
Encrypted catalog password setter
setCatUsername()  : UserCardEntityInterface
Catalog username setter
setCreated()  : UserCardEntityInterface
Created date setter.
setDbServiceManager()  : void
Set the service plugin manager.
setHomeLibrary()  : UserCardEntityInterface
Home library setter
setRawCatPassword()  : UserCardEntityInterface
Raw catalog password setter
setSaved()  : UserCardEntityInterface
Set time the card is saved.
setUser()  : UserCardEntityInterface
User setter.

Properties

$cat_pass_enc

public string|null $cat_pass_enc

$cat_password

public string|null $cat_password

$cat_username

public string $cat_username

$home_library

public string|null $home_library

Methods

__construct()

Constructor

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

Database adapter

Return values
mixed

getCardName()

Get user card name.

public getCardName() : string
Return values
string

getCatPassEnc()

Get encrypted catalog password.

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

getCatUsername()

Get catalog username.

public getCatUsername() : string
Return values
string

getCreated()

Get created date.

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
template

T

Return values
T

getHomeLibrary()

Get home library.

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

getId()

ID getter (returns null if the entity has not been saved/populated yet)

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>

getRawCatPassword()

Get raw catalog password.

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

getSaved()

Get saved time.

public getSaved() : DateTime
Return values
DateTime

Search results