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

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.

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

Definition at line 33 of file

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