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
8
use
Fossology\Lib\Plugin\AgentPlugin
;
9
10
class
IpraAgentPlugin
extends
AgentPlugin
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
());
Fossology\Lib\Plugin\AgentPlugin
Definition:
AgentPlugin.php:13
IpraAgentPlugin
Definition:
agent-ipra.php:11
IpraAgentPlugin\AgentHasResults
AgentHasResults($uploadId=0)
Definition:
agent-ipra.php:24
CheckARS
CheckARS($upload_pk, $AgentName, $AgentDesc, $AgentARSTableName)
Check the ARS table to see if an agent has successfully scanned an upload.
Definition:
common-agents.php:432
src
copyright
ui
agent-ipra.php
Generated on Mon Nov 18 2024 07:37:12 for FOSSology by
1.9.1