RenanBr.BibTexParser.Processor.NamesProcessor - JoomlaPubDB/PubDB GitHub Wiki

Class: \RenanBr\BibTexParser\Processor\NamesProcessor


Summary:

Splits names in four parts: First Von Last Jr.

Description:

This class includes source code adapted from the Structures_BibTex package, (c) Elmar Pitschke [email protected], included here under PHP license: http://www.php.net/license/3_0.txt


Constants

  • No constants found

Properties


Methods


Details


Tags

Tag Version Description
author Andre Chalom [email protected]

Properties

private $tagCoverageList : array


Type: array

Details:

private $tagCoverageStrategy : string


Type: string

Details:


Methods

public setTagCoverage()

public setTagCoverage(array  $tags, string  $strategy = null) 

Details:

Parameters:
Type Name Description
array $tags List of tags to be covered
string $strategy Can assume "whitelist" (default) or "blacklist"

public __construct()

public __construct() 

Details:

public __invoke() : array

public __invoke(array  $entry) : array

Details:

Parameters:
Type Name Description
array $entry

Returns: array

protected getCoveredTags() : array

protected getCoveredTags(array  $tags) : array

Summary

Calculates which tags are covered.

Description

The search performed internally is case-insensitive.

Details:

Parameters:
Type Name Description
array $tags

Returns: array

private extractAuthors() : array

private extractAuthors(string  $entry) : array

Summary

Extracting the authors.

Details:

Parameters:
Type Name Description
string $entry The entry with the authors

Returns: array - the extracted authors

Tags
Tag Version Description
author Elmar Pitschke [email protected]

private determineCase() : integer

private determineCase(string  $word) : integer

Summary

Case Determination according to the needs of BibTex.

Description

To parse the Author(s) correctly a determination is needed to get the Case of a word. There are three possible values:

  • Upper Case (return value 1)
  • Lower Case (return value 0)
  • Caseless (return value -1)

Details:

Parameters:
Type Name Description
string $word
Throws:
Type Description
\RenanBr\BibTexParser\Exception\ProcessorException

Returns: integer - The Case

Tags
Tag Version Description
author Elmar Pitschke [email protected]

Top Namespaces


Reports


This document was automatically generated from source code comments on 2020-07-13 using phpDocumentor and fr3nch13/phpdoc-markdown

⚠️ **GitHub.com Fallback** ⚠️