RenanBr.BibTexParser.Listener - JoomlaPubDB/PubDB GitHub Wiki

Class: \RenanBr\BibTexParser\Listener



Constants

  • No constants found

Properties


Methods


Details


Properties

private $entries : array


Type: array

Details:

private $currentTagName : string


Summary

Current tag name.

Description

Indicates where to save contents when triggered by the parser.

Type: string

Details:

private $processors : array


Type: array

Details:

private $processed : boolean


Type: boolean

Details:


Methods

public export() : array

public export() : array

Details:

Returns: array - all entries found during parsing process

public addProcessor()

public addProcessor(callable  $processor) 

Details:

Parameters:
Type Name Description
callable $processor Function to be applied to every BibTeX entry.
                       The processor given must return the modified entry.
                       Processors will be applied in the same order in which they were added.
                       The suggested signature is:
                       function (array $entry): array |

public bibTexUnitFound()

public bibTexUnitFound(string  $text, string  $type, array  $context) 

Summary

Called when an unit is found.

Details:

Parameters:
Type Name Description
string $text The original content of the unit found.
                   Escape character will not be sent. |

| string | $type | The type of unit found. It can assume one of Parser's constant value. | | array | $context | contains details of the unit found |


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** ⚠️