|
|
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 |
| |
Definition at line 21 of file agent-keyword.php.
| KeywordAgentPlugin::AgentAdd |
( |
|
$jobId, |
|
|
|
$uploadId, |
|
|
& |
$errorMsg, |
|
|
|
$dependencies = array(), |
|
|
|
$arguments = null |
|
) |
| |
- Parameters
-
| int | $jobId | |
| int | $uploadId | |
| &string | $errorMsg - error message on failure |
| array | $dependencies | - array of plugin names representing dependencies. |
| mixed | $arguments | (ignored if not a string) |
- Returns
- int
- jqId Successfully queued
- 0 Not queued, latest version of agent has previously run successfully
- -1 Not queued, error, error string in $ErrorMsg
- See also
- ::AgentAdd()
Definition at line 45 of file agent-keyword.php.
| KeywordAgentPlugin::AgentHasResults |
( |
|
$uploadId = 0 | ) |
|
| KeywordAgentPlugin::isAgentIncluded |
( |
|
$dependencies, |
|
|
|
$agentName |
|
) |
| |
|
protected |
Check if agent already included in the dependency list
- Parameters
-
| mixed | $dependencies | Array of job dependencies |
| string | $agentName | Name of the agent to be checked for |
- Returns
- boolean true if agent already in dependency list else false
Definition at line 71 of file agent-keyword.php.
The documentation for this class was generated from the following file: