9 require_once(
'HistogramBase.php');
11 define(
"TITLE_ECCHISTOGRAM", _(
"Export restriction Browser"));
21 $this->Name =
"ecc-hist";
22 $this->Title = TITLE_ECCHISTOGRAM;
23 $this->viewName =
"ecc-view";
24 $this->agentName =
"ecc";
25 parent::__construct();
36 protected function getTableContent($upload_pk, $Uploadtree_pk, $filter, $Agent_pk)
39 $decription = _(
"Export restriction");
43 $tableVars[
'ecc']=$eccVars;
44 return array($VEcc,$tableVars);
51 protected function fillTables($upload_pk, $Uploadtree_pk, $filter, $agentId, $VF)
53 list($VEcc, $tableVars) = $this->
getTableContent($upload_pk, $Uploadtree_pk, $filter, $agentId);
55 $V =
"<table border=0 width='100%'>\n";
56 $V .=
"<tr><td valign='top'>$VEcc</td><td valign='top'>$VF</td></tr>\n";
59 return array($V,$tableVars);
72 if (!empty($Item) && !empty($Upload)) {
77 $text = _(
"View ECC histogram");
91 $(document).ready(function() {
92 tableEcc = createTableecc();
93 $('#testReplacementecc').click(function() {
94 testReplacement(tableEcc, 'ecc');
Create UI plugin for ecc agent.
createScriptBlock()
Create JavaScript block for histogram.
RegisterMenus()
While menus can be added to any time at or after the PostInitialize phase, this is the standard locat...
fillTables($upload_pk, $Uploadtree_pk, $filter, $agentId, $VF)
Get copyright statements and fill the main content table.
getTableContent($upload_pk, $Uploadtree_pk, $filter, $Agent_pk)
Get contents for ecc table.
__construct()
base constructor. Most plugins will just use this
Base class for histogram plugins.
getTableForSingleType($type, $description, $uploadId, $uploadTreeId, $filter, $agentId)
GetParm($parameterName, $parameterType)
This function will retrieve the variables and check data types.
Traceback_parm_keep($List)
Create a new URI, keeping only these items.
list_t type structure used to keep various lists. (e.g. there are multiple lists).