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

Public Member Functions

 callback ($hookName, $args)
 
 getContextSpecificPluginSettingsFile ()
 
 getDescription ()
 
 getDisplayName ()
 
 getInstallSitePluginSettingsFile ()
 
 getManagementVerbs ()
 
 isMCEInstalled ()
 
 register ($category, $path)
 
- 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

TinyMCE WYSIWYG plugin for textareas - to allow cross-browser HTML editing.

Definition at line 23 of file TinyMCEPlugin.inc.php.

Member Function Documentation

TinyMCEPlugin::callback (   $hookName,
  $args 
)

Hook callback function for TemplateManager::display

Parameters
$hookNamestring
$argsarray
Returns
boolean

Definition at line 65 of file TinyMCEPlugin.inc.php.

References Plugin\$request, Registry\get(), PKPLocale\getAllLocales(), AppLocale\getLocale(), and String\substr().

TinyMCEPlugin::getContextSpecificPluginSettingsFile ( )

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

Returns
string

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

References Plugin\getPluginPath().

TinyMCEPlugin::getDescription ( )

Get the description of this plugin

Returns
string

Definition at line 129 of file TinyMCEPlugin.inc.php.

References isMCEInstalled().

TinyMCEPlugin::getDisplayName ( )

Get the display name of this plugin

Returns
string

Definition at line 121 of file TinyMCEPlugin.inc.php.

TinyMCEPlugin::getInstallSitePluginSettingsFile ( )

Get the name of the settings file to be installed site-wide when OMP is installed.

Returns
string

Definition at line 55 of file TinyMCEPlugin.inc.php.

References Plugin\getPluginPath().

TinyMCEPlugin::getManagementVerbs ( )

Get a list of available management verbs for this plugin

Returns
array

Definition at line 146 of file TinyMCEPlugin.inc.php.

References isMCEInstalled().

TinyMCEPlugin::isMCEInstalled ( )

Check whether or not the TinyMCE library is installed

Returns
boolean

Definition at line 138 of file TinyMCEPlugin.inc.php.

Referenced by getDescription(), getManagementVerbs(), and register().

TinyMCEPlugin::register (   $category,
  $path 
)

Register the plugin, if enabled; note that this plugin runs under both Press and Site contexts.

Parameters
$categorystring
$pathstring
Returns
boolean

Definition at line 31 of file TinyMCEPlugin.inc.php.

References isMCEInstalled(), and HookRegistry\register().


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