FOSSology
3.2.0rc1
Open Source License Compliance by Open Source Software
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
AllJobStatus.php
Go to the documentation of this file.
1
<?php
27
namespace
Fossology\UI\Page
;
28
29
use
Fossology\Lib\Auth\Auth
;
30
use
Fossology\Lib\Plugin\DefaultPlugin
;
31
use
Symfony\Component\HttpFoundation\Request
;
32
use
Symfony\Component\HttpFoundation\Response
;
33
38
class
AllJobStatus
extends
DefaultPlugin
39
{
40
45
const
NAME
=
"all_job_status"
;
46
47
function
__construct()
48
{
49
parent::__construct(self::NAME,
50
array(
51
self::TITLE =>
"Status - all server jobs"
,
52
self::MENU_LIST =>
"Admin::Dashboards::All Jobs"
,
53
self::REQUIRES_LOGIN =>
false
,
54
self::PERMISSION =>
Auth::PERM_NONE
55
));
56
}
57
62
protected
function
handle
(Request $request)
63
{
64
global $SysConf;
65
$vars = array();
66
$vars[
'clockTime'
] = $SysConf[
'SYSCONFIG'
][
'ShowJobsAutoRefresh'
];
67
return
$this->
render
(
'all_job_status.html.twig'
,
68
$this->mergeWithDefault($vars));
69
}
70
}
71
72
register_plugin(
new
AllJobStatus
());
Request
Fossology\Lib\Auth\Auth\PERM_NONE
const PERM_NONE
Definition:
Auth.php:51
Fossology\UI\Page\AllJobStatus
Definition:
AllJobStatus.php:38
Fossology\Lib\Plugin\DefaultPlugin\render
render($templateName, $vars=null, $headers=null)
Definition:
DefaultPlugin.php:290
Response
Fossology\Lib\Plugin\DefaultPlugin
Definition:
DefaultPlugin.php:32
Fossology\UI\Page
Definition:
AboutPage.php:20
Auth
Fossology\UI\Page\AllJobStatus\NAME
const NAME
Definition:
AllJobStatus.php:45
Fossology\UI\Page\AllJobStatus\handle
handle(Request $request)
Definition:
AllJobStatus.php:62
DefaultPlugin
src
www
ui
page
AllJobStatus.php
Generated on Mon Jun 29 2020 12:03:44 for FOSSology by
1.8.11