SproutCMS

This is the code documentation for the SproutCMS project

Page options:

Inherited members

class DemoItemAdminController

Handles admin processing for Demo items

Variables

NameVisibilityDescription
$add_defaults 
$controller_name 
$friendly_name 
$main_columns 
$main_delete 

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
_editSavepublicProcess the saving of a record.
_getAddSubActionspublicReturn the sub-actions for adding; for spec AdminController::renderSubActions
_getEditSubActionspublicReturn the sub-actions for editing; for spec AdminController::renderSubActions
_getToolspublic 
ajaxLookuppublicAJAX lookup of the words table for the 'word' field
autofillLookuppublicAJAX lookup of the words table for the autofill list
runWorkerpublic 

public __construct

void $DemoItemAdminController->__construct ( );

Constructor

protected _addPreRender

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

Pre-render hook for adding

public _addSave

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

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

protected _editPreRender

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

Pre-render hook for editing

public _editSave

boolean $DemoItemAdminController->_editSave ( int $item_id );

Process the saving of a record.

public _getAddSubActions

array $DemoItemAdminController->_getAddSubActions ( );

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

public _getEditSubActions

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

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

public _getTools

unknown $DemoItemAdminController->_getTools ( );

This function does not have a description

public ajaxLookup

string $DemoItemAdminController->ajaxLookup ( );

AJAX lookup of the words table for the 'word' field

public autofillLookup

string $DemoItemAdminController->autofillLookup ( );

AJAX lookup of the words table for the autofill list

public runWorker

void $DemoItemAdminController->runWorker ( );

This function does not have a description