SproutCMS

This is the code documentation for the SproutCMS project

class DemoItemAdminController

Handles admin processing for Demo items

Extending this class

<?php
/**
* New class description goes here
* 
* @author Your Name, 2024-04-29
**/
class NewClassName extends DemoItemAdminController {
    
    public function runWorker () {
        // Method code goes here
    }
    
    /**
    * AJAX lookup of the words table for the 'word' field
    **/
    public function ajaxLookup () {
        // Method code goes here
    }
    
    /**
    * AJAX lookup of the words table for the autofill list
    **/
    public function autofillLookup () {
        // Method code goes here
    }
    
    /**
    * Process the saving of a record.
    **/
    public function _editSave (int $item_id) {
        // Method code goes here
    }
    
    /**
    * Return the sub-actions for adding; for spec {@see AdminController::renderSubActions}
    **/
    public function _getAddSubActions () {
        // Method code goes here
    }
    
    /**
    * Saves the provided POST data into a new record in the database
    **/
    public function _addSave (int $item_id) {
        // Method code goes here
    }
    
    /**
    * Pre-render hook for editing
    **/
    protected function _editPreRender ($view, $item_id) {
        // Method code goes here
    }
    
    /**
    * Return the sub-actions for editing; for spec {@see AdminController::renderSubActions}
    **/
    public function _getEditSubActions ($item_id) {
        // Method code goes here
    }
    
    /**
    * Constructor
    **/
    public function __construct () {
        // Method code goes here
    }
    
    public function _getTools () {
        // Method code goes here
    }
    
    /**
    * Pre-render hook for adding
    **/
    protected function _addPreRender ($view) {
        // Method code goes here
    }
    
}
?>