Open Journal Systems  2.4.4
 All Classes Namespaces Functions Variables Groups Pages
PhpMyVisitesPlugin Class Reference
Inheritance diagram for PhpMyVisitesPlugin:
GenericPlugin

Public Member Functions

 getManagementVerbs ()
 
 insertFooter ($hookName, $params)
 
 manage ($verb, $args, &$message, &$messageParams)
 
 register ($category, $path)
 
 setBreadcrumbs ($isSubclass=false)
 
 smartyPluginUrl ($params, &$smarty)
 
- Public Member Functions inherited from GenericPlugin
 GenericPlugin ()
 
 getManagementVerbs ($verbs=array())
 
 manage ($verb, $args, &$message, &$messageParams)
 
- Public Member Functions inherited from LazyLoadPlugin
 getEnabled ()
 
 getName ()
 
 LazyLoadPlugin ()
 
 register ($category, $path)
 
 setEnabled ($enabled)
 
- Public Member Functions inherited from Plugin
 getContextSpecificPluginSettingsFile ()
 
 getNewJournalPluginSettingsFile ()
 
 getSetting ($journalId, $name)
 
 Plugin ()
 
 updateSetting ($journalId, $name, $value, $type=null)
 
- Public Member Functions inherited from PKPPlugin
 _getContextSpecificInstallationHook ()
 
 addHelpData ($locale=null)
 
 addLocaleData ($locale=null)
 
 getCategory ()
 
 getContextSpecificPluginSettingsFile ()
 
 getContextSpecificSetting ($context, $name)
 
 getCurrentVersion ()
 
 getDescription ()
 
 getDisplayName ()
 
 getHelpMappingFilename ()
 
 getHideManagement ()
 
 getInstallDataFile ()
 
 getInstallEmailTemplateDataFile ()
 
 getInstallEmailTemplatesFile ()
 
 getInstallFilterConfigFiles ()
 
 getInstallSchemaFile ()
 
 getInstallSitePluginSettingsFile ()
 
 getLocaleFilename ($locale)
 
 getManagementVerbs ()
 
 getName ()
 
 getPluginPath ()
 
 getSeq ()
 
 getSettingMainContext ()
 
 getTemplatePath ()
 
 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, $request=null)
 
 PKPPlugin ()
 
 register ($category, $path)
 
 smartyPluginUrl ($params, &$smarty)
 
 updateContextSpecificSetting ($context, $name, $value, $type=null)
 
 updateSchema ($hookName, $args)
 

Detailed Description

phpMyVisites plugin class

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

Member Function Documentation

PhpMyVisitesPlugin::getManagementVerbs ( )

Display verbs for the management interface.

Definition at line 106 of file PhpMyVisitesPlugin.inc.php.

PhpMyVisitesPlugin::insertFooter (   $hookName,
  $params 
)

Insert phpmv page tag to footer

Definition at line 117 of file PhpMyVisitesPlugin.inc.php.

References Request\getJournal(), Plugin\getSetting(), and PKPPlugin\getTemplatePath().

PhpMyVisitesPlugin::manage (   $verb,
  $args,
$message,
$messageParams 
)

Execute a management verb on this plugin

Parameters
$verbstring
$argsarray
$messagestring Result status message
$messageParamsarray Parameters for the message key
Returns
boolean

Definition at line 148 of file PhpMyVisitesPlugin.inc.php.

References Request\getJournal(), PKPRequest\getUserVar(), PhpMyVisitesSettingsForm\readInputData(), PKPRequest\redirect(), and AppLocale\requireComponents().

PhpMyVisitesPlugin::register (   $category,
  $path 
)

Called as a plugin is registered to the registry

Parameters
$categoryString Name of category plugin was registered to
Returns
boolean True iff plugin initialized successfully; if false, the plugin will not be registered.

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

References Config\getVar(), and HookRegistry\register().

PhpMyVisitesPlugin::setBreadcrumbs (   $isSubclass = false)

Set the page's breadcrumbs, given the plugin's tree of items to append.

Parameters
$subclassboolean

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

References Request\url().

PhpMyVisitesPlugin::smartyPluginUrl (   $params,
$smarty 
)

Extend the {url ...} smarty to support this plugin.

Definition at line 61 of file PhpMyVisitesPlugin.inc.php.

References PKPPlugin\getCategory(), and PKPPlugin\getName().


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