8 namespace Fossology\UI\Page;
12 use Symfony\Component\HttpFoundation\Request;
13 use Symfony\Component\HttpFoundation\Response;
14 use Symfony\Component\HttpFoundation\RedirectResponse;
22 const NAME =
"admin_custom_text_redirect";
24 function __construct()
26 parent::__construct(self::NAME, array(
27 self::TITLE =>
"Text Management",
28 self::MENU_LIST =>
"Admin::Text Management",
29 self::REQUIRES_LOGIN =>
true,
38 protected function handle(Request $request)
41 $redirectUrl =
Traceback_uri() .
'?mod=admin_custom_text_list';
42 return new RedirectResponse($redirectUrl);
46 register_plugin(
new AdminCustomTextRedirect());
Contains the constants and helpers for authentication of user.
Traceback_uri()
Get the URI without query to this location.