SproutCMS

This is the code documentation for the SproutCMS project

class OperatorAdminController

Handles most processing for operators

Extending this class

<?php
/**
* New class description goes here
* 
* @author Your Name, 2026-09-15
**/
class NewClassName extends OperatorAdminController {
    
    /**
    * Saves the provided POST data the specified record
    **/
    public function _editSave (int $item_id) {
        // Method code goes here
    }
    
    /**
    * Prevents deletion of accounts when the user doesn't have access, and deletion of self
    **/
    public function _deletePreSave (int $item_id) {
        // Method code goes here
    }
    
    /**
    * Pre-render hook for editing
    **/
    protected function _editPreRender ($view, $item_id) {
        // Method code goes here
    }
    
    /**
    * Get delete form - but only for partial access ops
    **/
    public function _getDeleteForm ($item_id) {
        // Method code goes here
    }
    
    /**
    * Pre-render hook for adding
    **/
    protected function _addPreRender ($view) {
        // 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
    }
    
    /**
    * Get edit form - but only for partial access ops or for editing your own record
    **/
    public function _getEditForm ($item_id) {
        // Method code goes here
    }
    
    /**
    * Get contents list - but only for partial access ops
    **/
    public function _getContents () {
        // Method code goes here
    }
    
    /**
    * Return the sub-actions for adding; for spec {@see AdminController::renderSubActions}
    **/
    public function _getAddSubActions () {
        // Method code goes here
    }
    
    /**
    * Get add form - but only for partial access ops
    **/
    public function _getAddForm () {
        // Method code goes here
    }
    
    public function __construct () {
        // Method code goes here
    }
    
    /**
    * Show tools - but only for full access ops
    **/
    public function _getTools () {
        // Method code goes here
    }
    
}
?>