/** * @see Plugin::getActions() */ function getActions($request, $verb) { $router = $request->getRouter(); import('lib.pkp.classes.linkAction.request.AjaxModal'); return array_merge($this->getEnabled() ? array(new LinkAction('settings', new AjaxModal($router->url($request, null, null, 'manage', null, array('verb' => 'settings', 'plugin' => $this->getName(), 'category' => 'generic')), $this->getDisplayName()), __('manager.plugins.settings'), null)) : array(), parent::getActions($request, $verb)); }
/** * @copydoc Plugin::getActions() */ function getActions($request, $actionArgs) { import('lib.pkp.classes.linkAction.request.AjaxModal'); $router = $request->getRouter(); return array_merge($this->getEnabled() ? array(new LinkAction('settings', new AjaxModal($router->url($request, null, null, 'manage', null, array('plugin' => $this->getName(), 'category' => $this->getCategory(), 'action' => 'index')), $this->getDisplayName()), __('plugins.generic.customBlockManager.manage'), null)) : array(), parent::getActions($request, $actionArgs)); }
/** * @copydoc Plugin::getActions() */ function getActions($request, $actionArgs) { $dispatcher = $request->getDispatcher(); import('lib.pkp.classes.linkAction.request.RedirectAction'); return array_merge($this->getEnabled() ? array(new LinkAction('settings', new RedirectAction($dispatcher->url($request, ROUTE_PAGE, null, 'management', 'settings', 'website', array('uid' => uniqid()), 'staticPages')), __('plugins.generic.staticPages.editAddContent'), null)) : array(), parent::getActions($request, $actionArgs)); }
function getActions($request, $actionArgs) { $router = $request->getRouter(); import('lib.pkp.classes.linkAction.request.AjaxModal'); return array_merge($this->getEnabled() ? array(new LinkAction('settings', new AjaxModal($router->url($request, null, null, 'manage', null, $actionArgs), $this->getDisplayName()), __('manager.plugins.settings'), null)) : array(), parent::getActions($request, $actionArgs)); }