BIBLIOGRAPHY STYLE class

Select a bibliographic style and perform some preprocessing

package wikindx4\core\bibcitation
author Mark Grimshaw

 Methods

BIBSTYLE

__construct(string $output) 

Parameters

$output

string

'html', plain', 'rtf'. Default is 'html'

Accept a SQL result row of raw bibliographic data and process it.

process(array $row, boolean $shortOutput) 

We build up the $bibformat->item array with formatted parts from the raw $row.

Parameters

$row

array

$shortOutput

boolean

If TRUE, output just a short citation. Default FALSE.

Create date

createDate() 

Create the DOI

createDoi() 

Create the edition number

createEdition(int $editionKey) 

Parameters

$editionKey

int

Create page start and page end

createPages() 

Create runningTime for film/broadcast

createRunningTime() 

Create the resource title

createTitle() 

Create the URL

createUrl() 

get names from database for creator, editor, translator etc.

grabNames(string $nameType) 

Parameters

$nameType

string

Initialize the bib system

init() 

callback for ordinals

ordinals(array $matches) 

Parameters

$matches

array

Perform some pre-processing

preProcess(string $type) 

Parameters

$type

string

Remove slashes depending upon output

removeSlashes(string $element) 

Parameters

$element

string

 Properties

 

$bibformat 
 

$coinsCreators 
 

$export 
 

$linkUrl 
 

$output 
 

$parsexml 
 

$resourceCreators 
 

$setupStyle 
 

$shortOutput 
 

$creators 
 

$db 
 

$html 
 

$url