SEARCHFORMELEMENTS
Table of Contents
Constants
- BIB : mixed = 'left width20percent'
- CB : mixed = 'left center width10percent'
- CV1 : mixed = 'left width30percent'
- CV2 : mixed = 'left width30percent'
- FB : mixed = 'left width15percent'
- LEFTCELL : mixed = 'generalTable borderStyleSolid left width60perc...
- Styling, particularly width, for TD containers
- OPT : mixed = 'left width60percent'
- RB1 : mixed = 'small left top width8percent'
- RB2 : mixed = 'small left top width8percent'
- RB3 : mixed = 'left top width8percent'
- SB1 : mixed = 'left center width20percent'
- SB2 : mixed = 'left center width20percent'
- TA : mixed = 'left center middle width5percent'
- WT : mixed = 'left width30percent'
Functions
- transferArrows() : array<string|int, mixed>
- Make the transfer arrows to transfer fields between select boxes with onclick
- makeSelectBox() : string
- Make div selected box
- makeRadioButtons1() : string
- Create radio buttons for AND and OR and NOT
- makeRadioButtons2() : string
- Create radio buttons for AND and OR
- wordDiv() : string
- Word search div
- categoryDiv() : string
- Category div
- subcategoryDiv() : string
- Subcategory div
- addedByDiv() : string
- AddedBy div
- editedByDiv() : string
- EditedBy div
- valueDiv() : string
- Value div for publicationYear, access, maturityIndex
- typeDiv() : string
- Resource type div
- creatorDiv() : string
- Creator div
- keywordDiv() : string
- Keyword div
- metaKeywordDiv() : string
- Metadata Keyword div
- languageDiv() : string
- Language div
- publisherDiv() : string
- Publisher div
- collectionDiv() : string
- Collection div
- userTagDiv() : string
- UserTag div
- tagDiv() : string
- Import Tag div
- grabLanguages() : array<string|int, mixed>
- get languages from database
- userBibs() : string
- Return select box of user bibliographies for this user. Called from LISTCOMMON when displaying results.
- makeRadioButtonsFilter() : string
- Create radio buttons for AND and OR and NOT—specifically for the filter buttons
- displayOptions() : string
- Display attachment options. Called from LISTCOMMON when displaying results.
Constants
BIB
public
mixed
BIB
= 'left width20percent'
CB
public
mixed
CB
= 'left center width10percent'
CV1
public
mixed
CV1
= 'left width30percent'
CV2
public
mixed
CV2
= 'left width30percent'
FB
public
mixed
FB
= 'left width15percent'
LEFTCELL
Styling, particularly width, for TD containers
public
mixed
LEFTCELL
= 'generalTable borderStyleSolid left width60percent'
OPT
public
mixed
OPT
= 'left width60percent'
RB1
public
mixed
RB1
= 'small left top width8percent'
RB2
public
mixed
RB2
= 'small left top width8percent'
RB3
public
mixed
RB3
= 'left top width8percent'
SB1
public
mixed
SB1
= 'left center width20percent'
SB2
public
mixed
SB2
= 'left center width20percent'
TA
public
mixed
TA
= 'left center middle width5percent'
WT
public
mixed
WT
= 'left width30percent'
Functions
transferArrows()
Make the transfer arrows to transfer fields between select boxes with onclick
transferArrows(mixed $source, mixed $target) : array<string|int, mixed>
Parameters
- $source : mixed
- $target : mixed
Return values
array<string|int, mixed> —[toRightImage, toLeftImage]
makeSelectBox()
Make div selected box
makeSelectBox(mixed &$array, mixed $type, mixed $index, array<string|int, mixed> $params) : string
Parameters
- $array : mixed
- $type : mixed
- $index : mixed
- $params : array<string|int, mixed>
Return values
stringmakeRadioButtons1()
Create radio buttons for AND and OR and NOT
makeRadioButtons1(string $type) : string
Parameters
- $type : string
Return values
stringmakeRadioButtons2()
Create radio buttons for AND and OR
makeRadioButtons2(string $type[, bool $defaultAND = false ]) : string
Parameters
- $type : string
- $defaultAND : bool = false
-
= FALSE
Return values
stringwordDiv()
Word search div
wordDiv(mixed $index, array<string|int, mixed> $params) : string
Parameters
- $index : mixed
- $params : array<string|int, mixed>
Return values
stringcategoryDiv()
Category div
categoryDiv(mixed $index, array<string|int, mixed> $params) : string
Parameters
- $index : mixed
- $params : array<string|int, mixed>
Return values
stringsubcategoryDiv()
Subcategory div
subcategoryDiv(mixed $index, array<string|int, mixed> $params) : string
Parameters
- $index : mixed
- $params : array<string|int, mixed>
Return values
stringaddedByDiv()
AddedBy div
addedByDiv(mixed $index, array<string|int, mixed> $params) : string
Parameters
- $index : mixed
-
Ø @param array $params
- $params : array<string|int, mixed>
Return values
stringeditedByDiv()
EditedBy div
editedByDiv(string $index, array<string|int, mixed> $params) : string
Parameters
- $index : string
- $params : array<string|int, mixed>
Return values
stringvalueDiv()
Value div for publicationYear, access, maturityIndex
valueDiv(mixed $index, array<string|int, mixed> $params) : string
Parameters
- $index : mixed
- $params : array<string|int, mixed>
Return values
stringtypeDiv()
Resource type div
typeDiv(mixed $index, array<string|int, mixed> $params) : string
Parameters
- $index : mixed
- $params : array<string|int, mixed>
Return values
stringcreatorDiv()
Creator div
creatorDiv(mixed $index, array<string|int, mixed> $params) : string
Parameters
- $index : mixed
- $params : array<string|int, mixed>
Return values
stringkeywordDiv()
Keyword div
keywordDiv(mixed $index, array<string|int, mixed> $params) : string
Parameters
- $index : mixed
- $params : array<string|int, mixed>
Return values
stringmetaKeywordDiv()
Metadata Keyword div
metaKeywordDiv(mixed $index, array<string|int, mixed> $params) : string
Parameters
- $index : mixed
- $params : array<string|int, mixed>
Return values
stringlanguageDiv()
Language div
languageDiv(mixed $index, array<string|int, mixed> $params) : string
Parameters
- $index : mixed
- $params : array<string|int, mixed>
Return values
stringpublisherDiv()
Publisher div
publisherDiv(mixed $index, array<string|int, mixed> $params) : string
Parameters
- $index : mixed
- $params : array<string|int, mixed>
Return values
stringcollectionDiv()
Collection div
collectionDiv(mixed $index, array<string|int, mixed> $params) : string
Parameters
- $index : mixed
- $params : array<string|int, mixed>
Return values
stringuserTagDiv()
UserTag div
userTagDiv(mixed $index, array<string|int, mixed> $params) : string
Parameters
- $index : mixed
- $params : array<string|int, mixed>
Return values
stringtagDiv()
Import Tag div
tagDiv(mixed $index, array<string|int, mixed> $params) : string
Parameters
- $index : mixed
- $params : array<string|int, mixed>
Return values
stringgrabLanguages()
get languages from database
grabLanguages() : array<string|int, mixed>
Return values
array<string|int, mixed>userBibs()
Return select box of user bibliographies for this user. Called from LISTCOMMON when displaying results.
userBibs() : string
Return values
stringmakeRadioButtonsFilter()
Create radio buttons for AND and OR and NOT—specifically for the filter buttons
makeRadioButtonsFilter() : string
Return values
stringdisplayOptions()
Display attachment options. Called from LISTCOMMON when displaying results.
displayOptions(array<string|int, mixed> $params) : string
NB this belongs to the FILTER form not the SEARCH form!
Parameters
- $params : array<string|int, mixed>