PHP Class CitationPlugin, ojs

Inheritance: extends Plugin
Afficher le fichier Open project: pkp/ojs Class Usage Examples

Méthodes publiques

Méthode Description
__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

Method Details

__construct() public méthode

Constructor
public __construct ( )

fetchCitation() public méthode

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() abstract public méthode

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

isDownloadable() public méthode

Whether this citation format is a downloadable file format (eg - EndNote)
public isDownloadable ( ) : boolean
Résultat boolean

loadJavaScript() public méthode

Load the JavaScript file to retrieve citation formats
public loadJavaScript ( $hookName, $args ) : null
$hookName string Hook name
$args array Hook arguments. See `TemplateManager::display`
Résultat null