WIKINDX API 6.10.2

LISTCOMMON
in package

LISTCOMMON common functions for listing, searching, selecting etc. resources

Table of Contents

Properties

$bibCite  : mixed
object
$browserTabID  : mixed
string
$BT  : mixed
string
$commonBib  : mixed
object
$commonBrowse  : mixed
object
$db  : mixed
object
$exportList  : mixed
bool
$finalSql  : mixed
string
$icons  : mixed
object
$listSession  : mixed
object
$pagingObject  : mixed
object
$quickListAll  : mixed
bool
$resCommon  : mixed
object
$rows  : mixed
array
$session  : mixed
object
$stats  : mixed
object
$store  : mixed
object
$user  : mixed
object
$vars  : mixed
array

Methods

createAddToBox()  : false|string
Create select box allowing users to add to categories, keywords etc.
createLinks()  : mixed
Create links for viewing, editing deleting etc. resources
displayListInfo()  : mixed
Display list information and userBib, category and keyword select box to add items to
initPaging()  : mixed
Initialize paging system
listAttachments()  : mixed
list only attachments
listMetadata()  : array<string|int, mixed>
Get metadata for this resource when browsing a keyword
listParams()  : false|string
Display some information about the search/select/list parameters
pagingAlphaCondition()  : bool
Set SQL conditions for title and creator order when using pagingAlpha
pagingDictCondition()  : bool
Set SQL conditions for title and creator order when using pagingDict
pagingStyle()  : mixed
Set the paging object re numeric, alphabetical, or dictionary paging

Properties

$browserTabID

string

private mixed $browserTabID = \FALSE

$commonBrowse

object

private mixed $commonBrowse

$exportList

bool

private mixed $exportList = \FALSE

$pagingObject

object

private mixed $pagingObject = \FALSE

$quickListAll

bool

private mixed $quickListAll = \FALSE

Methods

createAddToBox()

Create select box allowing users to add to categories, keywords etc.

private createAddToBox(int $bibUserId, array<string|int, mixed> $bibs, string $listType) : false|string
Parameters
$bibUserId : int
$bibs : array<string|int, mixed>
$listType : string
Return values
false|string

Create links for viewing, editing deleting etc. resources

private createLinks(string $listType, array<string|int, mixed> &$resourceList, array<string|int, mixed> $resources) : mixed
Parameters
$listType : string

Type of list to format

$resourceList : array<string|int, mixed>

Reference to $resourceList

$resources : array<string|int, mixed>

displayListInfo()

Display list information and userBib, category and keyword select box to add items to

private displayListInfo(string $listType[, bool $resourcesExist = TRUE ]) : mixed
Parameters
$listType : string
$resourcesExist : bool = TRUE

initPaging()

Initialize paging system

private initPaging(array<string|int, mixed> $ids, string $listType, string $order, string $queryString, mixed $total) : mixed
Parameters
$ids : array<string|int, mixed>
$listType : string
$order : string
$queryString : string
$total : mixed

listAttachments()

list only attachments

private listAttachments(string $listType) : mixed
Parameters
$listType : string

listMetadata()

Get metadata for this resource when browsing a keyword

private listMetadata(int $resourceId) : array<string|int, mixed>
Parameters
$resourceId : int
Return values
array<string|int, mixed>

listParams()

Display some information about the search/select/list parameters

private listParams(string $listType) : false|string
Parameters
$listType : string
Return values
false|string

pagingAlphaCondition()

Set SQL conditions for title and creator order when using pagingAlpha

private pagingAlphaCondition(string $order) : bool
Parameters
$order : string
Return values
bool

pagingDictCondition()

Set SQL conditions for title and creator order when using pagingDict

private pagingDictCondition(string $order) : bool
Parameters
$order : string
Return values
bool

pagingStyle()

Set the paging object re numeric, alphabetical, or dictionary paging

private pagingStyle(string $order) : mixed
Parameters
$order : string

        
On this page

Search results