USERTAGS
in package
USERTAGS
Common methods for handling user tags.
Table of Contents
Methods
- __construct() : mixed
- USERTAGS
- checkExists() : mixed
- Does this usertag already exist in the database?
- grabAll() : array<string|int, mixed>
- grab all current usertags for this user as assoc. array
- transferArrows() : array<string|int, mixed>
- Make the usertag select transfer arrows to transfer usertags between select boxes with onclick
Methods
__construct()
USERTAGS
public
__construct() : mixed
checkExists()
Does this usertag already exist in the database?
public
checkExists(string $usertag) : mixed
Parameters
- $usertag : string
Return values
mixed —FALSE|usertag ID
grabAll()
grab all current usertags for this user as assoc. array
public
grabAll([bool $userBib = false ][, array<string|int, mixed> $typeArray = false ][, bool $populated = false ]) : array<string|int, mixed>
Parameters
- $userBib : bool = false
-
Default is FALSE
- $typeArray : array<string|int, mixed> = false
-
Default is FALSE
- $populated : bool = false
-
Default is FALSE
Return values
array<string|int, mixed>transferArrows()
Make the usertag select transfer arrows to transfer usertags between select boxes with onclick
public
transferArrows() : array<string|int, mixed>
Return values
array<string|int, mixed> —(toRightImage, toLeftImage)