Common methods for user bibliographies

version 1
package wikindx4\core\bibliographies
author Mark Grimshaw

 Methods

BIBLIOGRAPHYCOMMON

__construct() 

Display bibliography being browsed

displayBib(boolean $hint) : string

Parameters

$hint

boolean

Default is FALSE

Returns

string

Get an array of all available bibliographies inc.

getBibsArray() : array

the MASTER bibliography

Returns

array

Get group bibliographies

getGroupBibs() : array

Returns

array

Get user bibliographies

getUserBibs() : array

Returns

array

Set a SQL condition clause if we are browsing a user bibliography to ensure that listed, selected or searched resources come only from that user bibliography.

userBibCondition(int $joinField, boolean $list) 

Parameters

$joinField

int

The resource ID field on which to join the user_bibliography_resource table. Default is FALSE

$list

boolean

If TRUE, this is a request coming from SEARCH or SELECT operations requiring the condition and join to be stored in the SQLSTATEMENT object for reuse. Default is FALSE

 Properties

 

$bailOut 
 

$db 
 

$html 
 

$messages 
 

$session 
 

$vars