WIKINDX API trunk

BIBTEXCREATORPARSE

Parse BibTeX authors

Table of Contents

Properties

$prefix  : mixed
string

Methods

explodeString()  : array<string|int, mixed>
Explodes a string but not when the delimiter occurs within a pair of braces
formatFirstname()  : string
Format firstname
getStringCase()  : string
returns the case of a string
getVonLast()  : array<string|int, mixed>
gets the "von" and "last" part from the author array
separateInitialsFunc()  : array<string|int, mixed>
separates initials from a firstname

Properties

Methods

explodeString()

Explodes a string but not when the delimiter occurs within a pair of braces

private explodeString(string $delimiter, string $val) : array<string|int, mixed>
Parameters
$delimiter : string
$val : string
Return values
array<string|int, mixed>

formatFirstname()

Format firstname

private formatFirstname(string $firstname) : string
Parameters
$firstname : string
Return values
string

getStringCase()

returns the case of a string

private getStringCase(string $string) : string

Case determination: non-alphabetic chars are caseless the first alphabetic char determines case if a string is caseless, it is grouped to its neighbour string.

Parameters
$string : string
Return values
string

getVonLast()

gets the "von" and "last" part from the author array

private getVonLast(string $author) : array<string|int, mixed>
Parameters
$author : string
Return values
array<string|int, mixed>

(von, surname)

separateInitialsFunc()

separates initials from a firstname

private separateInitialsFunc(string $firstname) : array<string|int, mixed>
Parameters
$firstname : string
Return values
array<string|int, mixed>

(firstname, initials)


        
On this page

Search results