SproutCMS

This is the code documentation for the SproutCMS project

Page options:

Inherited members

class WordAdminController

Handles admin processing for Words

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

public __construct

void $WordAdminController->__construct ( );

Constructor

protected _addPreRender

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

Pre-render hook for adding

public _addSave

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

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

protected _editPreRender

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

Pre-render hook for editing

public _editSave

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

Process the saving of a record.

public _getAddSubActions

array $WordAdminController->_getAddSubActions ( );

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

public _getEditSubActions

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

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