BIBTEXCREATORPARSE
in package
Parse BibTeX authors
Table of Contents
Properties
- $removeBraces : mixed
- boolean
- $removeEtAl : mixed
- boolean
- $removeTilde : mixed
- boolean
- $separateInitials : mixed
- boolean If true, separate initials from firstname
Methods
- getInitials() : string
- converts a first name to initials -- not currently used
- parse() : mixed
- Create writer arrays from bibtex input.
Properties
$removeBraces
boolean
public
mixed
$removeBraces
= \TRUE
$removeEtAl
boolean
public
mixed
$removeEtAl
= \TRUE
$removeTilde
boolean
public
mixed
$removeTilde
= \TRUE
$separateInitials
boolean If true, separate initials from firstname
public
mixed
$separateInitials
= \FALSE
Methods
getInitials()
converts a first name to initials -- not currently used
public
getInitials(string $firstname) : string
Parameters
- $firstname : string
Return values
stringparse()
Create writer arrays from bibtex input.
public
parse(string $input) : mixed
'author field can be (delimiters between authors are 'and', 'AND', or '&'): There are three possible cases: 1: First von Last 2: von Last, First 3: von Last, Jr, First
Parameters
- $input : string
Return values
mixed —FALSE|array (firstname, initials, surname, jr, von)