SproutCMS

This is the code documentation for the SproutCMS project

Page options:

Inherited members

class ExtraPageAdminController

Handles most processing for Extra pages

Variables

NameVisibilityDescription
$add_defaults 
$controller_name 
$friendly_name 

Functions

NameVisibilityDescription
__constructpublicConstructor
_addPreRenderprotectedPre-render hook for adding
_addSavepublicSaves the provided POST data into a new record in the database
_editPreRenderprotectedPre-render hook for editing
_editSavepublicSaves the provided POST data the specified record
_getAddSubActionspublicReturn the sub-actions for adding; for spec AdminController::renderSubActions
_getEditSubActionspublicReturn the sub-actions for editing; for spec AdminController::renderSubActions
_getNavigationpublicReturns the contents of the navigation pane for the list
_getToolspublicNo tools
_getVisibilityFieldspublicReturn the fields to show in the sidebar when adding or editing a record.
_identifierpublicCreates the identifier used in the heading.
validateprivateValidates incoming POST data.

public __construct

void $ExtraPageAdminController->__construct ( );

Constructor

protected _addPreRender

void $ExtraPageAdminController->_addPreRender ( mixed $view );

Pre-render hook for adding

public _addSave

unknown $ExtraPageAdminController->_addSave ( int &$item_id );

Saves the provided POST data into a new record in the database

protected _editPreRender

void $ExtraPageAdminController->_editPreRender ( mixed $view , mixed $item_id );

Pre-render hook for editing

public _editSave

unknown $ExtraPageAdminController->_editSave ( int $item_id );

Saves the provided POST data the specified record

public _getAddSubActions

array $ExtraPageAdminController->_getAddSubActions ( );

Return the sub-actions for adding; for spec AdminController::renderSubActions

public _getEditSubActions

array $ExtraPageAdminController->_getEditSubActions ( mixed $item_id );

Return the sub-actions for editing; for spec AdminController::renderSubActions

public _getNavigation

unknown $ExtraPageAdminController->_getNavigation ( );

Returns the contents of the navigation pane for the list

public _getTools

unknown $ExtraPageAdminController->_getTools ( );

No tools

public _getVisibilityFields

array $ExtraPageAdminController->_getVisibilityFields ( );

Return the fields to show in the sidebar when adding or editing a record.
These fields are shown under a heading of "Visibility"

Key is the field name, value is the field label

public _identifier

string $ExtraPageAdminController->_identifier ( array $item );

Creates the identifier used in the heading.

private validate

unknown $ExtraPageAdminController->validate ( );

Validates incoming POST data.