RenanBr.BibTexParser.Listener - JoomlaPubDB/PubDB GitHub Wiki
Namespace: \RenanBr\BibTexParser
- No constants found
- File: administrator/helpers/vendor/renanbr/bibtex-parser/src/Listener.php
- Package: Default
- Class Hierarchy:
- \RenanBr\BibTexParser\Listener
- Implements:
Type: array
Details:
Summary
Current tag name.
Description
Indicates where to save contents when triggered by the parser.
Type: string
Details:
Type: array
Details:
Type: boolean
Details:
public export() : array
Details:
- Inherited From: \RenanBr\BibTexParser\Listener
Returns: array - all entries found during parsing process
public addProcessor(callable $processor)
Details:
- Inherited From: \RenanBr\BibTexParser\Listener
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(string $text, string $type, array $context)
Summary
Called when an unit is found.
Details:
- Inherited From: \RenanBr\BibTexParser\Listener
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 |
This document was automatically generated from source code comments on 2020-07-13 using phpDocumentor and fr3nch13/phpdoc-markdown