VuFind API Documentation

Scopus
in package

Helpers for Scopus CSV import example.

Tags
category

VuFind

author

Demian Katz demian.katz@villanova.edu

license

http://opensource.org/licenses/gpl-2.0.php GNU General Public License

link

Wiki

Table of Contents

splitNames()  : array<string|int, string>
Given a string of multiple last name/initial pairs, split it into an array of name strings.
isNameAbbreviation()  : bool
Is the provided text the abbreviation part of a name string?

Methods

splitNames()

Given a string of multiple last name/initial pairs, split it into an array of name strings.

public static splitNames(string $names[, bool $firstOnly = false ]) : array<string|int, string>
Parameters
$names : string

Names to split

$firstOnly : bool = false

Set to true to return just the first extracted value

Return values
array<string|int, string>

isNameAbbreviation()

Is the provided text the abbreviation part of a name string?

protected static isNameAbbreviation(string $text) : bool
Parameters
$text : string

Text to check

Return values
bool

Search results