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
{
12
public
function
__construct()
13
{
14
$this->Name =
"agent_ipra"
;
15
$this->Title = _(
"IPRA Analysis, scanning for text fragments potentially relevant for patent issues"
);
16
$this->AgentName =
"ipra"
;
17
18
parent::__construct();
19
}
20
21
function
AgentHasResults
($uploadId=0)
22
{
23
return
CheckARS
($uploadId, $this->AgentName,
"ipra scanner"
,
"ipra_ars"
);
24
}
25
}
26
27
register_plugin(
new
IpraAgentPlugin
());
Fossology\Lib\Plugin\AgentPlugin
Definition:
AgentPlugin.php:11
IpraAgentPlugin
Definition:
agent-ipra.php:11
IpraAgentPlugin\AgentHasResults
AgentHasResults($uploadId=0)
Definition:
agent-ipra.php:21
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 Thu May 2 2024 13:40:56 for FOSSology by
1.9.1