FOSSology  4.4.0
Open Source License Compliance by Open Source Software
agent-ipra.php
1 <?php
2 /*
3  SPDX-FileCopyrightText: © 2022 Siemens AG
4 
5  SPDX-License-Identifier: GPL-2.0-only
6 */
7 
9 
11 {
13  private $IPRADesc = "Performs file scanning to find text fragments that could be relevant for patent issues. Note: More keywords related to patents can be included using the configuration file.";
14 
15  public function __construct()
16  {
17  $this->Name = "agent_ipra";
18  $this->Title = _("IPRA Analysis <img src=\"images/info_16.png\" data-toggle=\"tooltip\" title=\"".$this->IPRADesc."\" class=\"info-bullet\"/>");
19  $this->AgentName = "ipra";
20 
21  parent::__construct();
22  }
23 
24  function AgentHasResults($uploadId=0)
25  {
26  return CheckARS($uploadId, $this->AgentName, "ipra scanner", "ipra_ars");
27  }
28 }
29 
30 register_plugin(new IpraAgentPlugin());
AgentHasResults($uploadId=0)
Definition: agent-ipra.php:24
CheckARS($upload_pk, $AgentName, $AgentDesc, $AgentARSTableName)
Check the ARS table to see if an agent has successfully scanned an upload.