Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
LanguageToggleBlockPlugin Class Reference
Inheritance diagram for LanguageToggleBlockPlugin:
BlockPlugin

Public Member Functions

 getBlockContext ()
 
 getContents (&$templateMgr, $request=null)
 
 getContextSpecificPluginSettingsFile ()
 
 getDescription ()
 
 getDisplayName ()
 
 getEnabled ()
 
 getInstallSitePluginSettingsFile ()
 
 getSeq ()
 
- Public Member Functions inherited from BlockPlugin
 _getContextSpecificHomepageHook ()
 
 BlockPlugin ()
 
 callback ($hookName, $args)
 
 getBlockContext ()
 
 getBlockTemplateFilename ()
 
 getContents (&$templateMgr, $request=null)
 
getContextMap ()
 
 getSeq ()
 
 getSupportedContexts ()
 
 register ($category, $path)
 
 setBlockContext ($context)
 
 setSeq ($seq)
 
- Public Member Functions inherited from LazyLoadPlugin
 getEnabled ()
 
 getName ()
 
 LazyLoadPlugin ()
 
 register ($category, $path)
 
 setEnabled ($enabled)
 
- Public Member Functions inherited from Plugin
 _getContextSpecificInstallationHook ()
 
 addLocaleData ($locale=null)
 
 getCategory ()
 
 getContextSpecificPluginSettingsFile ()
 
 getContextSpecificSetting ($context, $name)
 
 getCurrentVersion ()
 
 getDescription ()
 
 getDisplayName ()
 
 getHideManagement ()
 
 getInstallDataFile ()
 
 getInstallEmailTemplateDataFile ()
 
 getInstallEmailTemplatesFile ()
 
 getInstallFilterConfigFiles ()
 
 getInstallSchemaFile ()
 
 getInstallSitePluginSettingsFile ()
 
 getLocaleFilename ($locale)
 
 getManagementVerbLinkAction ($request, $verb)
 
 getManagementVerbs ()
 
 getName ()
 
 getPluginPath ()
 
getRequest ()
 
 getSeq ()
 
 getSetting ($contextId, $name)
 
 getSettingMainContext ()
 
 getTemplatePath ($inCore=false)
 
 import ($class)
 
 installContextSpecificSettings ($hookName, $args)
 
 installData ($hookName, $args)
 
 installEmailTemplateData ($hookName, $args)
 
 installEmailTemplates ($hookName, $args)
 
 installFilters ($hookName, $args)
 
 installLocale ($hookName, $args)
 
 installSiteSettings ($hookName, $args)
 
 isSitePlugin ()
 
 manage ($verb, $args, &$message, &$messageParams, &$pluginModalContent=null)
 
 Plugin ()
 
 register ($category, $path)
 
 smartyPluginUrl ($params, &$smarty)
 
 updateContextSpecificSetting ($context, $name, $value, $type=null)
 
 updateSchema ($hookName, $args)
 
 updateSetting ($contextId, $name, $value, $type=null)
 

Additional Inherited Members

- Public Attributes inherited from Plugin
 $pluginCategory
 
 $pluginPath
 
 $request
 

Detailed Description

Class for language selector block plugin.

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

Member Function Documentation

LanguageToggleBlockPlugin::getBlockContext ( )

Get the block context. Overrides parent so that the plugin will be displayed during install.

Returns
int

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

References Config\getVar().

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

Get the HTML contents for this block.

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

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

LanguageToggleBlockPlugin::getContextSpecificPluginSettingsFile ( )

Install default settings on press creation.

Returns
string

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

References Plugin\getPluginPath().

LanguageToggleBlockPlugin::getDescription ( )

Get a description of the plugin.

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

LanguageToggleBlockPlugin::getDisplayName ( )

Get the display name of this plugin.

Returns
String

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

LanguageToggleBlockPlugin::getEnabled ( )

Determine whether the plugin is enabled. Overrides parent so that the plugin will be displayed during install.

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

References Config\getVar().

LanguageToggleBlockPlugin::getInstallSitePluginSettingsFile ( )

Install default settings on system install.

Returns
string

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

References Plugin\getPluginPath().

LanguageToggleBlockPlugin::getSeq ( )

Determine the plugin sequence. Overrides parent so that the plugin will be displayed during install.

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

References Config\getVar().


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