SproutCMS

This is the code documentation for the SproutCMS project

class WorkerJobAdminController

Handles most processing for Worker Jobs

Extending this class

<?php
/**
* New class description goes here
* 
* @author Your Name, 2026-09-15
**/
class NewClassName extends WorkerJobAdminController {
    
    /**
    * Return the status and log for the worker job edit view ajax update
    **/
    public function jsonStatus ($job_id) {
        // Method code goes here
    }
    
    /**
    * Manually runs a worker job
    * Extra args can be provided as required.
    **/
    public function manualRunAction () {
        // Method code goes here
    }
    
    /**
    * Constructor
    **/
    public function __construct () {
        // Method code goes here
    }
    
    /**
    * Returns the contents of the navigation pane for the list
    **/
    public function _getTools () {
        // Method code goes here
    }
    
    public function _getNavigation () {
        // Method code goes here
    }
    
    /**
    * Return the fields to show in the sidebar when adding or editing a record.
    * These fields are shown under a heading of &quot;Visibility&quot;
    * 
    * Key is the field name, value is the field label
    **/
    public function _getVisibilityFields () {
        // Method code goes here
    }
    
    /**
    * UI for running worker jobs manually
    **/
    public function _extraManualRun () {
        // Method code goes here
    }
    
    public function _addSave ($item_id) {
        // Method code goes here
    }
    
    public function _editSave ($item_id) {
        // Method code goes here
    }
    
    public function _getAddForm () {
        // Method code goes here
    }
    
}
?>