BIBSTYLE
in package
BIBLIOGRAPHY STYLE class
Select a bibliographic style and perform some preprocessing
Table of Contents
- $db : mixed
- object
- $row : mixed
- array
- createCustom() : mixed
- Grab any custom fields for this resource
- createDate() : mixed
- Create date
- createDoi() : false|string
- Create the DOI
- createEdition() : mixed
- Create the edition number
- createPages() : mixed
- Create page start and page end
- createRunningTime() : mixed
- Create runningTime for film/broadcast
- createTitle() : mixed
- Create the resource title
- createUrl() : false|string
- Create the URL
- grabNames() : mixed
- get names from database for creator, editor, translator etc.
- init() : mixed
- Initialize the bib system
- ordinals() : string
- callback for ordinals
- preProcess() : mixed
- Perform some pre-processing
Properties
$db
object
private
mixed
$db
$row
array
private
mixed
$row
= NULL
Methods
createCustom()
Grab any custom fields for this resource
private
createCustom(array<string|int, mixed> $array) : mixed
Parameters
- $array : array<string|int, mixed>
-
(resourcecustomCustomId)
Return values
mixed —createDate()
Create date
private
createDate() : mixed
Return values
mixed —createDoi()
Create the DOI
private
createDoi() : false|string
Return values
false|string —createEdition()
Create the edition number
private
createEdition(int $editionKey) : mixed
Parameters
- $editionKey : int
Return values
mixed —createPages()
Create page start and page end
private
createPages() : mixed
Return values
mixed —createRunningTime()
Create runningTime for film/broadcast
private
createRunningTime() : mixed
Return values
mixed —createTitle()
Create the resource title
private
createTitle() : mixed
Return values
mixed —createUrl()
Create the URL
private
createUrl() : false|string
Return values
false|string —grabNames()
get names from database for creator, editor, translator etc.
private
grabNames(string $nameType, bool $singleResource) : mixed
Parameters
- $nameType : string
- $singleResource : bool
-
If TRUE, we format just a single resource as in RESOURCEVIEW and so gather creator details here.
Return values
mixed —init()
Initialize the bib system
private
init() : mixed
Return values
mixed —ordinals()
callback for ordinals
private
ordinals(array<string|int, mixed> $matches) : string
Parameters
- $matches : array<string|int, mixed>
Return values
string —preProcess()
Perform some pre-processing
private
preProcess(string $type, bool $singleResource) : mixed
Parameters
- $type : string
- $singleResource : bool
-
If TRUE, we format just a single resource as in RESOURCEVIEW and so gather creator details here.