Export BibTeX

parent/base exporter class. The specific exporter classes should inherit.

version 1
package wikindx4\core\importexport
author Mark Grimshaw

 Methods

Extends EXPORTER

__construct() 

display bibtex data for one resource (from resource lists)

export(array $row, array $creators) : string

Parameters

$row

array

$creators

array

Returns

string

formatName - format one name depending on the export type

formatName(array $creatorRow, string $exportType) : string
Inherited
author Mark Grimshaw
inherited_from \EXPORTER::formatName()

Parameters

$creatorRow

array

$exportType

string

Returns

string

titleFormat - format and return the resource title from the supplied SQL $row

titleFormat(array $row, boolean $bibtex) : string
Inherited
author Mark Grimshaw
inherited_from \EXPORTER::titleFormat()

Parameters

$row

array

$bibtex

boolean

Returns

string

Convert raw array of data to bibtex format

convertEntry() : string

Returns

string

Create date

dateFormat(array $row) 
Inherited
inherited_from \EXPORTER::dateFormat()

Parameters

$row

array

get and format data

getData(array $row) 
Inherited
inherited_from \EXPORTER::getData()

Parameters

$row

array

format names

nameFormat() 
Inherited
inherited_from \EXPORTER::nameFormat()

call back for convertEntry()

uEncode(string $element) : string

Parameters

$element

string

Returns

string

create author string

convertEntryAuthors() : string

Returns

string

 Properties

 

$authors 
Inherited
inherited_from \EXPORTER::$$authors
 

$creators 
Inherited
inherited_from \EXPORTER::$$creators
 

$entry 
Inherited
inherited_from \EXPORTER::$$entry
 

$db 
 

$map