WIKINDX API trunk

EXPORTGOOGLESCHOLAR extends EXPORTER

Make WIKINDX resources available to Google Scholar

Table of Contents

Properties

$authors  : mixed
array
$creators  : mixed
array
$db  : mixed
object
$entry  : mixed
array
$map  : mixed
object

Methods

__construct()  : mixed
EXPORTGOOGLESCHOLAR
export()  : string
Display googlescholar data for one resource
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 appropriate google scholar format
convertEntryAuthors()  : string
Convert raw array of authors to appropriate google scholar format
dateFormat()  : mixed
Create date
getData()  : mixed
get and format data
nameFormat()  : mixed
format names
uEncode()  : string
URL encode

Properties

$creators

array

protected mixed $creators

Methods

export()

Display googlescholar data for one resource

public export(array<string|int, mixed> $row, array<string|int, mixed> $creators, array<string|int, mixed> $publishers) : string
Parameters
$row : array<string|int, mixed>
$creators : array<string|int, mixed>
$publishers : array<string|int, mixed>
Return values
string

formatName()

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
string

titleFormat()

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
string

convertEntry()

Convert raw array of data to appropriate google scholar format

protected convertEntry() : string
Return values
string

convertEntryAuthors()

Convert raw array of authors to appropriate google scholar format

protected convertEntryAuthors() : string
Return values
string

dateFormat()

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()

URL encode

protected uEncode(string $element) : string
Parameters
$element : string
Return values
string

        
On this page

Search results