PubdbLiteraturesCitation - JoomlaPubDB/PubDB GitHub Wiki
Summary:
Class PubdbLiteraturesCitation
- No constants found
- public generateFormattedStings()
- private generateFormattedString()
- private getFormattedBlock()
- private getPatternFromDb()
- private getRefIdFromDb()
- File: administrator/helpers/PubdbLiteraturesCitation.php
- Package: Com_Pubdb
- Class Hierarchy:
- \PubdbLiteraturesCitation
Tag | Version | Description |
---|---|---|
since | 1.6 |
public generateFormattedStings( $patternId, $literatureList) : array
Summary
Generates formatted String in citation style format for each entry in literature list
Details:
- Inherited From: \PubdbLiteraturesCitation
Type | Name | Description |
---|---|---|
|
$patternId | |
|
$literatureList |
Returns: array - String[] with formatted strings in citation style format
Tag | Version | Description |
---|---|---|
since | 0.0.1 |
private generateFormattedString( $pattern, $literatureEntry) : String
Summary
Generates formatted String in citation style format for given entry. Global variable Blocks need to be filled before.
Details:
- Inherited From: \PubdbLiteraturesCitation
Type | Name | Description |
---|---|---|
|
$pattern | |
|
$literatureEntry |
Returns: String - literature string in citation style format
Tag | Version | Description |
---|---|---|
since | 0.0.1 |
private getFormattedBlock( $block, $literatureEntry) : String
Summary
Format block
Details:
- Inherited From: \PubdbLiteraturesCitation
Type | Name | Description |
---|---|---|
|
$block | String block to be formatted |
|
$literatureEntry | stdClass literature entry to get data from |
Returns: String - formatted block
Tag | Version | Description |
---|---|---|
since | 0.0.1 |
private getPatternFromDb( $citation_style_id) : \json
Summary
Get citation style from DB
Details:
- Inherited From: \PubdbLiteraturesCitation
Type | Name | Description |
---|---|---|
|
$citation_style_id | int Id of the citation style |
Returns: \json - Pattern of the citation style
Tag | Version | Description |
---|---|---|
since | 0.0.1 |
private getRefIdFromDb( $refTypeName) : integer
Summary
Get reference type id by name
Details:
- Inherited From: \PubdbLiteraturesCitation
Type | Name | Description |
---|---|---|
|
$refTypeName | String reference type name |
Returns: integer - reference type id
Tag | Version | Description |
---|---|---|
since | 0.0.1 |
This document was automatically generated from source code comments on 2020-07-13 using phpDocumentor and fr3nch13/phpdoc-markdown