SproutCMS

This is the code documentation for the SproutCMS project

Page options:

Inherited members

class DocumentTypeAdminController

Handles admin processing for Document types

Variables

NameVisibilityDescription
$add_defaults 
$controller_name 
$friendly_name 
$main_columns 

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 into the specified record
_getAddSubActionspublicReturn the sub-actions for adding; for spec AdminController::renderSubActions
_getEditSubActionspublicReturn the sub-actions for editing; for spec AdminController::renderSubActions
_getVisibilityFieldspublicReturn the fields to show in the sidebar when adding or editing a record.

public __construct

void $DocumentTypeAdminController->__construct ( );

Constructor

protected _addPreRender

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

Pre-render hook for adding

public _addSave

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

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

protected _editPreRender

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

Pre-render hook for editing

public _editSave

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

Saves the provided POST data into the specified record

public _getAddSubActions

array $DocumentTypeAdminController->_getAddSubActions ( );

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

public _getEditSubActions

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

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

public _getVisibilityFields

array $DocumentTypeAdminController->_getVisibilityFields ( );

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