|  | 
|  | AgentHasResults ($uploadId=0) | 
|  | 
|  | AgentAdd ($jobId, $uploadId, &$errorMsg, $dependencies=array(), $arguments=null) | 
|  | 
|  | execute () | 
|  | 
|  | postInstall () | 
|  | 
|  | preInstall () | 
|  | 
|  | unInstall () | 
|  | 
|  | getName () | 
|  | 
|  | AgentHasResults ($uploadId=0) | 
|  | 
|  | AgentAdd ($jobId, $uploadId, &$errorMsg, $dependencies=array(), $arguments=null) | 
|  | 
|  | __toString () | 
|  | 
|  | 
| 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 22 of file agent-monk.php.
 
      
        
          | MonkAgentPlugin::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 42 of file agent-monk.php.
 
 
  
  | 
        
          | MonkAgentPlugin::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 68 of file agent-monk.php.
 
 
The documentation for this class was generated from the following file: