PHP Class LanguageToggleBlockPlugin, ojs

Inheritance: extends BlockPlugin
显示文件 Open project: pkp/ojs

Public Methods

Method Description
getBlockContext ( $contextId = null ) : integer Get the block context. Overrides parent so that the plugin will be displayed during install.
getContents ( $templateMgr, $request = null ) Get the HTML contents for this block.
getContextSpecificPluginSettingsFile ( ) : string Install default settings on journal creation.
getDescription ( ) Get a description of the plugin.
getDisplayName ( ) : String Get the display name of this plugin.
getEnabled ( $contextId = null ) : boolean Determine whether the plugin is enabled. Overrides parent so that the plugin will be displayed during install.
getInstallSitePluginSettingsFile ( ) : string Install default settings on system install.
getSeq ( $contextId = null ) Determine the plugin sequence. Overrides parent so that the plugin will be displayed during install.

Method Details

getBlockContext() public method

Get the block context. Overrides parent so that the plugin will be displayed during install.
public getBlockContext ( $contextId = null ) : integer
$contextId int Context ID (journal/press)
return integer

getContents() public method

Get the HTML contents for this block.
public getContents ( $templateMgr, $request = null )
$templateMgr object
$request PKPRequest

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

getEnabled() public method

Determine whether the plugin is enabled. Overrides parent so that the plugin will be displayed during install.
public getEnabled ( $contextId = null ) : boolean
$contextId int Context ID (journal/press)
return boolean

getInstallSitePluginSettingsFile() public method

Install default settings on system install.

getSeq() public method

Determine the plugin sequence. Overrides parent so that the plugin will be displayed during install.
public getSeq ( $contextId = null )
$contextId int Context ID (journal/press)