Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
LegacyPluginHelper Class Reference

Public Member Functions

 redirect ($url)
 

Detailed Description

Helper class for plugins that don't have their UI adapted to OMP.

FIXME: After modernizing the UI of the plugins, remove this class.

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

Member Function Documentation

LegacyPluginHelper::redirect (   $url)

Returns a JSON message with an event to refresh the modal where the plugin content is. This will simulate the Request::redirect behaviour, using the existing modal to load the new content.

Parameters
$urlThe url that will be used to fetch new content.
Returns
string

Definition at line 33 of file LegacyPluginHelper.inc.php.


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