SproutCMS

This is the code documentation for the SproutCMS project

class WordAdminController

Handles admin processing for Words

Extending this class

<?php
/**
* New class description goes here
* 
* @author Your Name, 2024-11-25
**/
class NewClassName extends WordAdminController {
    
    /**
    * Pre-render hook for adding
    **/
    protected function _addPreRender ($view) {
        // 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
    }
    
    /**
    * Process the saving of a record.
    **/
    public function _editSave (int $item_id) {
        // Method code goes here
    }
    
    /**
    * Constructor
    **/
    public function __construct () {
        // Method code goes here
    }
    
}
?>