FOSSology
4.4.0
Open Source License Compliance by Open Source Software
|
UI element for reuser during Uploading new package. More...
Public Member Functions | |
renderContent (&$vars) | |
Render twig templates for plugin_reuser. More... | |
renderFoot (&$vars) | |
Render footer twig templates for plugin_reuser. More... | |
preInstall () | |
scheduleAgent ($jobId, $uploadId, &$errorMsg, $request) | |
Get parameters from request and add to job queue. More... | |
Public Member Functions inherited from Fossology\Lib\Plugin\AgentPlugin | |
execute () | |
postInstall () | |
unInstall () | |
getName () | |
AgentHasResults ($uploadId=0) | |
AgentAdd ($jobId, $uploadId, &$errorMsg, $dependencies=[], $arguments=null, $request=null, $unpackArgs=null) | |
__toString () | |
Public Attributes | |
const | UPLOAD_TO_REUSE_SELECTOR_NAME = 'uploadToReuse' |
Form element name for main license to reuse. | |
Public Attributes inherited from Fossology\Lib\Plugin\AgentPlugin | |
const | PRE_JOB_QUEUE = 'preJq' |
$AgentName | |
$Name = "agent_abstract" | |
$Dependency = array() | |
$Title = 'how to show checkbox' | |
$PluginLevel = 10 | |
$State = PLUGIN_STATE_READY | |
$DBaccess = PLUGIN_DB_WRITE | |
Protected Member Functions | |
createPackageLink ($uploadId, $reuseUploadId, $groupId, $reuseGroupId, $reuseMode=0) | |
Create links between old and new upload. More... | |
Protected Member Functions inherited from Fossology\Lib\Plugin\AgentPlugin | |
doAgentAdd ($jobId, $uploadId, &$errorMsg, $dependencies, $jqargs="", $jq_cmd_args=null, $request=null) | |
implicitAgentAdd ($jobId, $uploadId, &$errorMsg, $dependency, $request) | |
Private Attributes | |
$uploadDao | |
UI element for reuser during Uploading new package.
Definition at line 30 of file agent-reuser.php.
|
protected |
Create links between old and new upload.
int | $uploadId | |
int | $reuseUploadId | |
int | $groupId | |
int | $reuseGroupId | |
int | $reuseMode |
Definition at line 143 of file agent-reuser.php.
Fossology\Reuser\ReuserAgentPlugin::preInstall | ( | ) |
Reimplemented from Fossology\Lib\Plugin\AgentPlugin.
Definition at line 76 of file agent-reuser.php.
Fossology\Reuser\ReuserAgentPlugin::renderContent | ( | & | $vars | ) |
Render twig templates for plugin_reuser.
array | $vars | Variables for twig template |
Definition at line 55 of file agent-reuser.php.
Fossology\Reuser\ReuserAgentPlugin::renderFoot | ( | & | $vars | ) |
Render footer twig templates for plugin_reuser.
array | $vars | Variables for twig template |
Definition at line 66 of file agent-reuser.php.
Fossology\Reuser\ReuserAgentPlugin::scheduleAgent | ( | $jobId, | |
$uploadId, | |||
& | $errorMsg, | ||
$request | |||
) |
Get parameters from request and add to job queue.
int | $jobId | Job id to add to | |
int | $uploadId | Upload id to add to | |
[out] | string | $errorMsg | Error message to display |
Request | $request | HTML request |
Definition at line 89 of file agent-reuser.php.
|
private |
Upload Dao object
Definition at line 37 of file agent-reuser.php.