Open Journal Systems  2.4.4
 All Classes Namespaces Functions Variables Groups Pages
DOAJPlugin Class Reference
Inheritance diagram for DOAJPlugin:
ImportExportPlugin Plugin PKPPlugin

Public Member Functions

 display (&$args, $request)
 
 exportJournal (&$journal, $outputFile=null)
 
 getDescription ()
 
 getDisplayName ()
 
 getName ()
 
 register ($category, $path)
 
- Public Member Functions inherited from ImportExportPlugin
 display (&$args, $request)
 
 executeCLI ($scriptName, &$args)
 
 getDescription ()
 
 getDisplayName ()
 
 getManagementVerbs ()
 
 getName ()
 
 ImportExportPlugin ()
 
 manage ($verb, $args, $message, $messageParams=null, $request=null)
 
 setBreadcrumbs ($crumbs=array(), $isSubclass=false)
 
 smartyPluginUrl ($params, &$smarty)
 
 usage ($scriptName)
 
- 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

DOAJ import/export plugin.

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

Member Function Documentation

DOAJPlugin::display ( $args,
  $request 
)

Display the plugin

Parameters
$argsarray

Definition at line 64 of file DOAJPlugin.inc.php.

References exportJournal(), Request\getJournal(), PKPPlugin\getTemplatePath(), and ImportExportPlugin\setBreadcrumbs().

DOAJPlugin::exportJournal ( $journal,
  $outputFile = null 
)

Export a journal's content

Parameters
$journalobject
$outputFilestring

Definition at line 85 of file DOAJPlugin.inc.php.

References XMLCustomWriter\createDocument(), and DOAJExportDom\generateJournalDom().

Referenced by display().

DOAJPlugin::getDescription ( )

Get the description of this plugin

Returns
string

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

DOAJPlugin::getDisplayName ( )

Get the display name for this plugin

Returns
string

Definition at line 48 of file DOAJPlugin.inc.php.

DOAJPlugin::getName ( )

Get the name of this plugin. The name must be unique within its category.

Returns
String name of plugin

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

DOAJPlugin::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 29 of file DOAJPlugin.inc.php.

References PKPPlugin\addLocaleData().


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