
Public Member Functions | |
| callback ($hookName, $args) | |
| getDescription () | |
| getDisplayName () | |
| getEnabled () | |
| getEnableFields (&$templateMgr, $page, $op) | |
| getInstallSitePluginSettingsFile () | |
| getManagementVerbs () | |
| getName () | |
| getNewJournalPluginSettingsFile () | |
| isMCEInstalled () | |
| manage ($verb, $args) | |
| register ($category, $path) | |
Definition at line 23 of file TinyMCEPlugin.inc.php.
| TinyMCEPlugin.callback | ( | $ | hookName, | |
| $ | args | |||
| ) |
Hook callback function for TemplateManager.display
| $hookName | string | |
| $args | array |
Definition at line 243 of file TinyMCEPlugin.inc.php.
References Locale.getAllLocales(), getEnableFields(), Locale.getLocale(), Request.getRequestedOp(), Request.getRequestedPage(), and String.substr().
| TinyMCEPlugin.getDescription | ( | ) |
Get the description of this plugin
Reimplemented from Plugin.
Definition at line 312 of file TinyMCEPlugin.inc.php.
References isMCEInstalled(), and Locale.translate().
| TinyMCEPlugin.getDisplayName | ( | ) |
Get the display name of this plugin
Reimplemented from Plugin.
Definition at line 304 of file TinyMCEPlugin.inc.php.
References Locale.translate().
| TinyMCEPlugin.getEnabled | ( | ) |
Check whether or not this plugin is enabled
Definition at line 329 of file TinyMCEPlugin.inc.php.
References Request.getJournal().
Referenced by getManagementVerbs(), and register().
| TinyMCEPlugin.getEnableFields | ( | &$ | templateMgr, | |
| $ | page, | |||
| $ | op | |||
| ) |
Given a $page and $op, return a list of field names for which the plugin should be used.
| $templateMgr | object | |
| $page | string The requested page | |
| $op | string The requested operation |
Definition at line 68 of file TinyMCEPlugin.inc.php.
References HookRegistry.call(), and Request.getRequestedArgs().
Referenced by callback().
| TinyMCEPlugin.getInstallSitePluginSettingsFile | ( | ) |
Get the name of the settings file to be installed site-wide when OJS is installed.
Reimplemented from Plugin.
Definition at line 56 of file TinyMCEPlugin.inc.php.
References Plugin.getPluginPath().
| TinyMCEPlugin.getManagementVerbs | ( | ) |
Get a list of available management verbs for this plugin
Reimplemented from Plugin.
Definition at line 339 of file TinyMCEPlugin.inc.php.
References getEnabled(), isMCEInstalled(), and Locale.translate().
| TinyMCEPlugin.getName | ( | ) |
Get the symbolic name of this plugin
Reimplemented from Plugin.
Definition at line 296 of file TinyMCEPlugin.inc.php.
| TinyMCEPlugin.getNewJournalPluginSettingsFile | ( | ) |
Get the name of the settings file to be installed on new journal creation.
Reimplemented from Plugin.
Definition at line 47 of file TinyMCEPlugin.inc.php.
References Plugin.getPluginPath().
| TinyMCEPlugin.isMCEInstalled | ( | ) |
Check whether or not the TinyMCE library is installed
Definition at line 321 of file TinyMCEPlugin.inc.php.
Referenced by getDescription(), getManagementVerbs(), and register().
| TinyMCEPlugin.manage | ( | $ | verb, | |
| $ | args | |||
| ) |
Execute a management verb on this plugin
| $verb | string | |
| $args | array |
Reimplemented from Plugin.
Definition at line 354 of file TinyMCEPlugin.inc.php.
References Request.getJournal(), and Plugin.updateSetting().
| TinyMCEPlugin.register | ( | $ | category, | |
| $ | path | |||
| ) |
Register the plugin, if enabled; note that this plugin runs under both Journal and Site contexts.
| $category | string | |
| $path | string |
Reimplemented from Plugin.
Definition at line 31 of file TinyMCEPlugin.inc.php.
References Plugin.addLocaleData(), getEnabled(), isMCEInstalled(), and HookRegistry.register().
1.5.6