20 require_once(
'HistogramBase.php');
22 define(
"TITLE_ECCHISTOGRAM", _(
"Export restriction Browser"));
29 function __construct()
31 $this->Name =
"ecc-hist";
32 $this->Title = TITLE_ECCHISTOGRAM;
33 $this->viewName =
"ecc-view";
34 $this->agentName =
"ecc";
35 parent::__construct();
46 protected function getTableContent($upload_pk, $Uploadtree_pk, $filter, $Agent_pk)
49 $decription = _(
"Export restriction");
53 $tableVars[
'ecc']=$eccVars;
54 return array($VEcc,$tableVars);
61 protected function fillTables($upload_pk, $Uploadtree_pk, $filter, $agentId, $VF)
63 list($VEcc, $tableVars) = $this->
getTableContent($upload_pk, $Uploadtree_pk, $filter, $agentId);
65 $V =
"<table border=0 width='100%'>\n";
66 $V .=
"<tr><td valign='top' width='50%'>$VEcc</td><td valign='top'>$VF</td></tr>\n";
69 return array($V,$tableVars);
82 if (!empty($Item) && !empty($Upload))
91 $text = _(
"View ECC histogram");
105 $(document).ready(function() { 106 tableEcc = createTableecc(); getTableContent($upload_pk, $Uploadtree_pk, $filter, $Agent_pk)
Get contents for ecc table.
fillTables($upload_pk, $Uploadtree_pk, $filter, $agentId, $VF)
Get copyright statements and fill the main content table.
createScriptBlock()
Create JavaScript block for histogram.
Create UI plugin for ecc agent.
getTableForSingleType($type, $description, $uploadId, $uploadTreeId, $filter, $agentId)
RegisterMenus()
While menus can be added to any time at or after the PostInitialize phase, this is the standard locat...
GetParm($parameterName, $parameterType)
This function will retrieve the variables and check data types.
list_t type structure used to keep various lists. (e.g. there are multiple lists).
Traceback_parm_keep($List)
Create a new URI, keeping only these items.
Base class for histogram plugins.