EXPORTBIBTEX
extends EXPORTER
in package
Export BibTeX
Table of Contents
Properties
- $authors : mixed
- array
- $creators : mixed
- array
- $db : mixed
- object
- $entry : mixed
- array
- $map : mixed
- object
Methods
- __construct() : mixed
- Extends EXPORTER
- export() : string
- display bibtex data for one resource (from resource lists)
- formatName() : string
- formatName - format one name depending on the export type
- titleFormat() : string
- titleFormat - format and return the resource title from the supplied SQL $row
- convertEntry() : string
- Convert raw array of data to bibtex format
- dateFormat() : mixed
- Create date
- getData() : mixed
- get and format data
- nameFormat() : mixed
- format names
- uEncode() : string
- call back for convertEntry()
Properties
$authors
array
protected
mixed
$authors
$creators
array
protected
mixed
$creators
$db
object
protected
mixed
$db
$entry
array
protected
mixed
$entry
$map
object
protected
mixed
$map
Methods
__construct()
Extends EXPORTER
public
__construct() : mixed
export()
display bibtex data for one resource (from resource lists)
public
export(array<string|int, mixed> $row, array<string|int, mixed> $creators) : string
Parameters
- $row : array<string|int, mixed>
- $creators : array<string|int, mixed>
Return values
stringformatName()
formatName - format one name depending on the export type
public
formatName(array<string|int, mixed> $creatorRow, string $exportType) : string
Parameters
- $creatorRow : array<string|int, mixed>
- $exportType : string
Return values
stringtitleFormat()
titleFormat - format and return the resource title from the supplied SQL $row
public
titleFormat(array<string|int, mixed> $row[, bool $bibtex = false ]) : string
Parameters
- $row : array<string|int, mixed>
- $bibtex : bool = false
Return values
stringconvertEntry()
Convert raw array of data to bibtex format
protected
convertEntry() : string
Return values
stringdateFormat()
Create date
protected
dateFormat(array<string|int, mixed> $row) : mixed
Parameters
- $row : array<string|int, mixed>
getData()
get and format data
protected
getData(array<string|int, mixed> $row) : mixed
Parameters
- $row : array<string|int, mixed>
nameFormat()
format names
protected
nameFormat() : mixed
uEncode()
call back for convertEntry()
protected
uEncode(string $element) : string
Parameters
- $element : string