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

Public Member Functions

 callbackSharingDisplay ($hookName, $params)
 
 getContextSpecificPluginSettingsFile ()
 
 getDescription ()
 
 getDisplayName ()
 
 getManagementVerbLinkAction ($request, $verb)
 
 getManagementVerbs ()
 
 getName ()
 
 manage ($verb, $args, &$message, &$messageParams, &$pluginModalContent=null)
 
 register ($category, $path)
 
 statsConfigured ($press)
 
- Public Member Functions inherited from GenericPlugin
 GenericPlugin ()
 
 getManagementVerbs ()
 
 manage ($verb, $args, &$message, &$messageParams, &$pluginModalContent=null)
 
- 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

This plugin provides the AddThis social media sharing options for submissions.

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

Member Function Documentation

AddThisPlugin::callbackSharingDisplay (   $hookName,
  $params 
)

Hook against Templates::Catalog::Book::BookInfo::Sharing, for including the addThis code on submission display.

Parameters
$hookNamestring
$paramsarray

Definition at line 157 of file AddThisPlugin.inc.php.

References Plugin\$request, Plugin\getRequest(), and Plugin\getTemplatePath().

AddThisPlugin::getContextSpecificPluginSettingsFile ( )

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

Returns
string

Definition at line 39 of file AddThisPlugin.inc.php.

References Plugin\getPluginPath().

AddThisPlugin::getDescription ( )

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

AddThisPlugin::getDisplayName ( )

Definition at line 53 of file AddThisPlugin.inc.php.

Referenced by getManagementVerbLinkAction().

AddThisPlugin::getManagementVerbLinkAction (   $request,
  $verb 
)

Define management link actions for the settings verb.

Parameters
$requestPKPRequest
$verbstring
Returns
LinkAction

Definition at line 81 of file AddThisPlugin.inc.php.

References Plugin\$request, getDisplayName(), and getName().

AddThisPlugin::getManagementVerbs ( )

Definition at line 67 of file AddThisPlugin.inc.php.

AddThisPlugin::getName ( )

Definition at line 46 of file AddThisPlugin.inc.php.

Referenced by getManagementVerbLinkAction().

AddThisPlugin::manage (   $verb,
  $args,
$message,
$messageParams,
$pluginModalContent = null 
)
AddThisPlugin::register (   $category,
  $path 
)

Register the plugin.

Parameters
$categorystring
$pathstring

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

References HookRegistry\register().

AddThisPlugin::statsConfigured (   $press)

Determines if statistics settings have been enabled for this plugin.

Parameters
$pressPress
Returns
boolean

Definition at line 178 of file AddThisPlugin.inc.php.

Referenced by manage().


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