Handles most processing for Subsites
This is the code documentation for the SproutCMS project
Search documentation |
class SubsiteAdminControllerHandles most processing for Subsites
Extending this class<?php
/**
* New class description goes here
*
* @author Your Name, 2026-09-15
**/
class NewClassName extends SubsiteAdminController {
/**
* Prevents deletion if there's only subsite
**/
public function _deletePreSave (int $item_id) {
// Method code goes here
}
public 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
}
/**
* Saves the provided POST data into a new record in the database
**/
public function _addSave (int $item_id) {
// Method code goes here
}
/**
* Return HTML which represents the form for deleting a record
**/
public function _getDeleteForm (int $id) {
// Method code goes here
}
/**
* Saves the provided POST data the specified record
**/
public function _editSave (int $item_id) {
// Method code goes here
}
/**
* Validates incoming POST data.
**/
private function validate () {
// Method code goes here
}
/**
* Return the sub-actions for adding; for spec {@see AdminController::renderSubActions}
**/
public function _getAddSubActions () {
// Method code goes here
}
public function _addPreRender ($view) {
// Method code goes here
}
/**
* Constructor
**/
public function __construct () {
// Method code goes here
}
}
?>
|
| Powered by Pelzini, version 0.9.0 |
Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Tuesday, 15th September, 2026 at 10:26 am |
|