PHP Класс CitationPlugin, ojs

Наследование: extends Plugin
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( ) Constructor
fetchCitation ( $article, $issue, $journal ) Return an HTML-formatted citation. Default implementation displays an HTML-based citation using the citation.tpl template in the plugin path.
getCitationFormatName ( ) Get the citation format name for this plugin.
isDownloadable ( ) : boolean Whether this citation format is a downloadable file format (eg - EndNote)
loadJavaScript ( $hookName, $args ) : null Load the JavaScript file to retrieve citation formats

Описание методов

__construct() публичный метод

Constructor
public __construct ( )

fetchCitation() публичный метод

Return an HTML-formatted citation. Default implementation displays an HTML-based citation using the citation.tpl template in the plugin path.
public fetchCitation ( $article, $issue, $journal )
$article Article
$issue Issue
$journal Journal

getCitationFormatName() абстрактный публичный метод

Get the citation format name for this plugin.
abstract public getCitationFormatName ( )

isDownloadable() публичный метод

Whether this citation format is a downloadable file format (eg - EndNote)
public isDownloadable ( ) : boolean
Результат boolean

loadJavaScript() публичный метод

Load the JavaScript file to retrieve citation formats
public loadJavaScript ( $hookName, $args ) : null
$hookName string Hook name
$args array Hook arguments. See `TemplateManager::display`
Результат null