\BIBSTYLE

BIBLIOGRAPHY STYLE class

Select a bibliographic style and perform some preprocessing

Summary

Methods
Properties
Constants
__construct()
process()
removeSlashes()
$creators
$parsexml
$coinsCreators
$output
$shortOutput
$export
$setupStyle
$bibformat
$resourceCreators
$linkUrl
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$creators

$creators : 

array

Type

$parsexml

$parsexml : 

object

Type

$coinsCreators

$coinsCreators : 

array

Type

$output

$output : 

string

Type

$shortOutput

$shortOutput : 

string

Type

$export

$export : 

boolean

Type

$setupStyle

$setupStyle : 

boolean

Type

$bibformat

$bibformat : 

object

Type

$resourceCreators

$resourceCreators : 

array

Type

$linkUrl

$linkUrl : 

boolean

Type

Methods

__construct()

__construct(  output = html) : 

BIBSTYLE

Parameters

output

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

Returns

process()

process(mixed||string|int  row,   shortOutput = FALSE,   singleResource = TRUE) : 

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

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

Parameters

mixed||string|int row
shortOutput

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

singleResource

If TRUE, we format just a single resource as in RESOURCEVIEW and so gather creator details here. Otherwise, gathering creator details is done in LISTCOMMON::formatResources(). Default is TRUE.

Returns

removeSlashes()

removeSlashes(  element) : 

Remove slashes depending upon output

Parameters

element

Returns