Open Monograph Press  3.3.0
SmithsonianThemePlugin Class Reference
Inheritance diagram for SmithsonianThemePlugin:
ThemePlugin LazyLoadPlugin Plugin

Public Member Functions

 getContextSpecificPluginSettingsFile ()
 
 getDescription ()
 
 getDisplayName ()
 
 getInstallSitePluginSettingsFile ()
 
 getLessStylesheet ()
 
 printJavascript ()
 
 SmithsonianThemePlugin ()
 
- Public Member Functions inherited from ThemePlugin
 _getBaseDir ($path='')
 
 _getBaseUrl ($path='')
 
 _registerScripts ()
 
 addMenuArea ($menuAreas)
 
 addOption ($name, $type, $args=array())
 
 addScript ($name, $script, $args=array())
 
 addStyle ($name, $style, $args=array())
 
 getMenuAreas ($existingAreas=array())
 
 getOption ($name)
 
 getOptionConfig ($name)
 
 getOptionsConfig ()
 
 getOptionValues ($contextId)
 
getScript ($name)
 
getStyle ($name)
 
 init ()
 
 initAfter ()
 
 isActive ()
 
 isColourDark ($color, $limit=130)
 
 modifyOptionsConfig ($name, $args=array())
 
 modifyScript ($name, $args=array())
 
 modifyStyle ($name, $args=array())
 
 register ($category, $path, $mainContextId=null)
 
 removeMenuArea ($menuArea)
 
 removeOption ($name)
 
 removeScript ($name)
 
 removeStyle ($name)
 
 saveOption ($name, $value, $contextId=null)
 
 setParent ($parent)
 
 themeRegistered ($themes)
 
 validateOptions ($options, $themePluginPath, $contextId, $request)
 
- Public Member Functions inherited from LazyLoadPlugin
 getCanDisable ()
 
 getCanEnable ()
 
 getCurrentContextId ()
 
 getEnabled ($contextId=null)
 
 getName ()
 
 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 ThemePlugin
 $menuAreas = array()
 
 $options = array()
 
 $parent
 
 $scripts = array()
 
 $styles = array()
 
- Data Fields inherited from Plugin
 $pluginCategory
 
 $pluginPath
 
 $request
 
- Protected Member Functions inherited from Plugin
 _registerTemplateResource ($inCore=false)
 
- Protected Attributes inherited from ThemePlugin
 $_optionValues = null
 

Detailed Description

Smithsonian theme.

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

Member Function Documentation

◆ getContextSpecificPluginSettingsFile()

SmithsonianThemePlugin::getContextSpecificPluginSettingsFile ( )

Get the name of the settings file to be installed on new journal creation.

Returns
string

Reimplemented from Plugin.

Definition at line 33 of file SmithsonianThemePlugin.inc.php.

References Plugin\getPluginPath().

◆ getDescription()

SmithsonianThemePlugin::getDescription ( )

Get the description of this plugin

Returns
string

Reimplemented from Plugin.

Definition at line 58 of file SmithsonianThemePlugin.inc.php.

◆ getDisplayName()

SmithsonianThemePlugin::getDisplayName ( )

Get the display name of this plugin

Returns
string

Reimplemented from Plugin.

Definition at line 50 of file SmithsonianThemePlugin.inc.php.

◆ getInstallSitePluginSettingsFile()

SmithsonianThemePlugin::getInstallSitePluginSettingsFile ( )

Get the name of the settings file to be installed site-wide when OJS is installed.

Returns
string

Reimplemented from Plugin.

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

References Plugin\getPluginPath().

◆ getLessStylesheet()

SmithsonianThemePlugin::getLessStylesheet ( )
See also
ThemePlugin::getLessStylesheet

Definition at line 65 of file SmithsonianThemePlugin.inc.php.

◆ printJavascript()

SmithsonianThemePlugin::printJavascript ( )

Print JavaScript file into the footer

Parameters
$hookNamestring
$argsarray
Returns
boolean Normal hook handling conventions.

Definition at line 75 of file SmithsonianThemePlugin.inc.php.

References Plugin\$request, Registry\get(), and Plugin\getPluginPath().

◆ SmithsonianThemePlugin()

SmithsonianThemePlugin::SmithsonianThemePlugin ( )

Constructor

Definition at line 22 of file SmithsonianThemePlugin.inc.php.

References HookRegistry\register().


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