SproutCMS

This is the code documentation for the SproutCMS project

class ExtraPageAdminController

Handles most processing for Extra pages

Extending this class

<?php
/**
* New class description goes here
* 
* @author Your Name, 2026-09-16
**/
class NewClassName extends ExtraPageAdminController {
    
    /**
    * Saves the provided POST data the specified record
    **/
    public function _editSave (int $item_id) {
        // Method code goes here
    }
    
    /**
    * Creates the identifier used in the heading.
    **/
    public function _identifier (array $item) {
        // Method code goes here
    }
    
    /**
    * Return the sub-actions for editing; for spec {@see AdminController::renderSubActions}
    **/
    public function _getEditSubActions ($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
    }
    
    /**
    * Constructor
    **/
    public function __construct () {
        // Method code goes here
    }
    
    /**
    * No tools
    **/
    public function _getTools () {
        // Method code goes here
    }
    
    /**
    * Returns the contents of the navigation pane for the list
    **/
    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
    }
    
    /**
    * Pre-render hook for adding
    **/
    protected function _addPreRender ($view) {
        // Method code goes here
    }
    
    /**
    * Validates incoming POST data.
    **/
    private function validate () {
        // Method code goes here
    }
    
}
?>