
Public Member Functions | |
| compareToCurDate ($journalId) | |
| display (&$args) | |
| emailRep (&$journal, $send=false) | |
| exportJournal (&$journal, $outputFile=null) | |
| getArticlesPerIssue ($journalId) | |
| getDescription () | |
| getDisplayName () | |
| getInstallDataFile () | |
| getName () | |
| register ($category, $path) | |
Definition at line 24 of file DOAJPlugin.inc.php.
| DOAJPlugin.compareToCurDate | ( | $ | journalId | ) |
See if the most recent issue was more than a year old. If so, return false. Else return true. (No published issues returns false.)
| $journalId | int |
Definition at line 192 of file DOAJPlugin.inc.php.
References DAORegistry.getDAO().
Referenced by emailRep().
| DOAJPlugin.display | ( | &$ | args | ) |
Display the plugin
| $args | array |
Reimplemented from ImportExportPlugin.
Definition at line 74 of file DOAJPlugin.inc.php.
References emailRep(), exportJournal(), Request.getJournal(), TemplateManager.getManager(), Request.getUserVar(), and ImportExportPlugin.setBreadcrumbs().
| DOAJPlugin.emailRep | ( | &$ | journal, | |
| $ | send = false | |||
| ) |
Send the request email to DOAJ.
| $journal | object |
Definition at line 123 of file DOAJPlugin.inc.php.
References compareToCurDate(), getArticlesPerIssue(), Locale.getLocale(), getName(), Request.getUser(), Request.redirect(), and Request.url().
Referenced by display().
| DOAJPlugin.exportJournal | ( | &$ | journal, | |
| $ | outputFile = null | |||
| ) |
Export a journal's content
| $journal | object | |
| $outputFile | string |
Definition at line 99 of file DOAJPlugin.inc.php.
References XMLCustomWriter.createDocument(), and DOAJExportDom.generateJournalDom().
Referenced by display().
| DOAJPlugin.getArticlesPerIssue | ( | $ | journalId | ) |
Get the number of articles per issue.
| $journalId | int |
Definition at line 174 of file DOAJPlugin.inc.php.
References DAORegistry.getDAO().
Referenced by emailRep().
| DOAJPlugin.getDescription | ( | ) |
Get the description of this plugin
Reimplemented from ImportExportPlugin.
Definition at line 58 of file DOAJPlugin.inc.php.
References Locale.translate().
| DOAJPlugin.getDisplayName | ( | ) |
Get the display name for this plugin
Reimplemented from ImportExportPlugin.
Definition at line 50 of file DOAJPlugin.inc.php.
References Locale.translate().
| DOAJPlugin.getInstallDataFile | ( | ) |
Get the filename for the data file to be installed with this plugin
Reimplemented from Plugin.
Definition at line 66 of file DOAJPlugin.inc.php.
References Plugin.getPluginPath().
| DOAJPlugin.getName | ( | ) |
Get the name of this plugin. The name must be unique within its category.
Reimplemented from ImportExportPlugin.
Definition at line 42 of file DOAJPlugin.inc.php.
Referenced by emailRep().
| DOAJPlugin.register | ( | $ | category, | |
| $ | path | |||
| ) |
Called as a plugin is registered to the registry
| $category | String Name of category plugin was registered to |
Reimplemented from Plugin.
Definition at line 31 of file DOAJPlugin.inc.php.
References Plugin.addLocaleData().
1.5.6