PHP Class HtmlArticleGalleyPlugin, ojs

Inheritance: extends GenericPlugin
Mostrar archivo Open project: pkp/ojs

Public Methods

Method Description
_getHTMLContents ( $request, $galley ) : string Return string containing the contents of the HTML file.
_handleOjsUrl ( $matchArray )
articleDownloadCallback ( string $hookName, array $args ) Present rewritten article HTML.
articleViewCallback ( string $hookName, array $args ) Present the article wrapper page.
getContextSpecificPluginSettingsFile ( ) : string Install default settings on journal creation.
getDescription ( ) Get a description of the plugin.
getDisplayName ( ) : String Get the display name of this plugin.
register ( $category, $path )

Method Details

_getHTMLContents() public method

This function performs any necessary filtering, like image URL replacement.
public _getHTMLContents ( $request, $galley ) : string
$request PKPRequest
$galley ArticleGalley
return string

_handleOjsUrl() public method

public _handleOjsUrl ( $matchArray )

articleDownloadCallback() public method

Present rewritten article HTML.
public articleDownloadCallback ( string $hookName, array $args )
$hookName string
$args array

articleViewCallback() public method

Present the article wrapper page.
public articleViewCallback ( string $hookName, array $args )
$hookName string
$args array

getContextSpecificPluginSettingsFile() public method

Install default settings on journal creation.

getDescription() public method

Get a description of the plugin.
public getDescription ( )

getDisplayName() public method

Get the display name of this plugin.
public getDisplayName ( ) : String
return String

register() public method

See also: Plugin::register()
public register ( $category, $path )