Open Journal Systems  3.3.0
LanguageToggleBlockPlugin Class Reference
Inheritance diagram for LanguageToggleBlockPlugin:
BlockPlugin LazyLoadPlugin Plugin

Public Member Functions

 getContents ($templateMgr, $request=null)
 
 getContextSpecificPluginSettingsFile ()
 
 getDescription ()
 
 getDisplayName ()
 
 getInstallSitePluginSettingsFile ()
 
- Public Member Functions inherited from BlockPlugin
 getBlockTemplateFilename ()
 
 getEnabled ($contextId=null)
 
 setEnabled ($enabled, $contextId=null)
 
- Public Member Functions inherited from LazyLoadPlugin
 getCanDisable ()
 
 getCanEnable ()
 
 getCurrentContextId ()
 
 getName ()
 
 register ($category, $path, $mainContextId=null)
 
 setEnabled ($enabled)
 
- Public Member Functions inherited from Plugin
 __construct ()
 
 _overridePluginTemplates ($hookName, $args)
 
 addLocaleData ($locale=null)
 
 getActions ($request, $actionArgs)
 
 getCategory ()
 
 getCurrentVersion ()
 
 getDirName ()
 
 getEnabled ()
 
 getHideManagement ()
 
 getInstallControlledVocabFiles ()
 
 getInstallDataFile ()
 
 getInstallEmailTemplateDataFile ()
 
 getInstallEmailTemplatesFile ()
 
 getInstallFilterConfigFiles ()
 
 getInstallMigration ()
 
 getInstallSchemaFile ()
 
 getLocaleFilename ($locale)
 
 getPluginPath ()
 
getRequest ()
 
 getSeq ()
 
 getSetting ($contextId, $name)
 
 getTemplatePath ($inCore=false)
 
 getTemplateResource ($template=null, $inCore=false)
 
 import ($class)
 
 installContextSpecificSettings ($hookName, $args)
 
 installControlledVocabs ($hookName, $args)
 
 installData ($hookName, $args)
 
 installEmailTemplateData ($hookName, $args)
 
 installEmailTemplates ($hookName, $args)
 
 installFilters ($hookName, $args)
 
 installLocale ($hookName, $args)
 
 installSiteSettings ($hookName, $args)
 
 isSitePlugin ()
 
 manage ($args, $request)
 
 smartyPluginUrl ($params, $smarty)
 
 updateSchema ($hookName, $args)
 
 updateSetting ($contextId, $name, $value, $type=null)
 

Additional Inherited Members

- Data Fields inherited from Plugin
 $pluginCategory
 
 $pluginPath
 
 $request
 
- Protected Member Functions inherited from Plugin
 _registerTemplateResource ($inCore=false)
 

Detailed Description

Class for language selector block plugin.

Definition at line 18 of file LanguageToggleBlockPlugin.inc.php.

Member Function Documentation

◆ getContents()

LanguageToggleBlockPlugin::getContents (   $templateMgr,
  $request = null 
)

Get the HTML contents for this block.

Parameters
$templateMgrobject
$requestPKPRequest

Reimplemented from BlockPlugin.

Definition at line 56 of file LanguageToggleBlockPlugin.inc.php.

References Plugin\$request, and PKPLocale\getAllLocales().

◆ getContextSpecificPluginSettingsFile()

LanguageToggleBlockPlugin::getContextSpecificPluginSettingsFile ( )

Install default settings on journal creation.

Returns
string

Reimplemented from Plugin.

Definition at line 32 of file LanguageToggleBlockPlugin.inc.php.

References Plugin\getPluginPath().

◆ getDescription()

LanguageToggleBlockPlugin::getDescription ( )

Get a description of the plugin.

Reimplemented from Plugin.

Definition at line 47 of file LanguageToggleBlockPlugin.inc.php.

◆ getDisplayName()

LanguageToggleBlockPlugin::getDisplayName ( )

Get the display name of this plugin.

Returns
String

Reimplemented from Plugin.

Definition at line 40 of file LanguageToggleBlockPlugin.inc.php.

◆ getInstallSitePluginSettingsFile()

LanguageToggleBlockPlugin::getInstallSitePluginSettingsFile ( )

Install default settings on system install.

Returns
string

Reimplemented from Plugin.

Definition at line 24 of file LanguageToggleBlockPlugin.inc.php.

References Plugin\getPluginPath().


The documentation for this class was generated from the following file: