SproutCMS

This is the code documentation for the SproutCMS project

class PerRecordPermissionAdminController

Manages which controllers have per-record permissions enabled

Extending this class

<?php
/**
* New class description goes here
* 
* @author Your Name, 2026-09-09
**/
class NewClassName extends PerRecordPermissionAdminController {
    
    /**
    * Gets the list of controllers which can have per-category permissions set
    **/
    protected function getControllerList () {
        // Method code goes here
    }
    
    /**
    * Return the navigation for this controller
    **/
    public function _getNavigation () {
        // Method code goes here
    }
    
    /**
    * Generate a form where operators can specify which controllers should have per-record permissions enabled
    * 
    * This is instead of the normal behaviour: HTML which represents a list of records for a controller
    **/
    public function _getContents () {
        // Method code goes here
    }
    
    public function _extraReset () {
        // Method code goes here
    }
    
    public function resetSave () {
        // Method code goes here
    }
    
    /**
    * Save which controllers should have per-record permissions enabled
    **/
    public function save () {
        // Method code goes here
    }
    
}
?>