8 require_once(
'HistogramBase.php');
10 define(
"TITLE_IPRAHISTOGRAM", _(
"Patent Relevant Browser"));
16 $this->Name =
"ipra-hist";
17 $this->Title = TITLE_IPRAHISTOGRAM;
18 $this->viewName =
"ipra-view";
19 $this->agentName =
"ipra";
20 parent::__construct();
30 protected function getTableContent($upload_pk, $Uploadtree_pk, $filter, $Agent_pk)
33 $decription = _(
"Patent Relevant");
36 list($VPatentRelevant,$ipraVars) = $this->
getTableForSingleType($type, $decription, $upload_pk, $Uploadtree_pk, $filter, $Agent_pk);
37 $tableVars[
'ipra']=$ipraVars;
38 return array($VPatentRelevant,$tableVars);
49 protected function fillTables($upload_pk, $Uploadtree_pk, $filter, $agentId, $VF)
51 list($VPatentRelevant, $tableVars) = $this->
getTableContent($upload_pk, $Uploadtree_pk, $filter, $agentId);
53 $V =
"<table border=0 width='100%'>\n";
54 $V .=
"<tr><td valign='top' width='50%'>$VPatentRelevant</td><td valign='top'>$VF</td></tr>\n";
57 return array($V,$tableVars);
66 if (!empty($Item) && !empty($Upload)) {
71 $text = _(
"View patent relevant histogram");
81 $(document).ready(function() {
82 tablePatents = createTableipra();
Base class for histogram plugins.
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...
createScriptBlock()
Create JavaScript block for histogram.
__construct()
base constructor. Most plugins will just use this
fillTables($upload_pk, $Uploadtree_pk, $filter, $agentId, $VF)
getTableContent($upload_pk, $Uploadtree_pk, $filter, $Agent_pk)
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).