SproutCMS

This is the code documentation for the SproutCMS project

Page options:

Inherited members

class OperatorAdminController

Handles most processing for operators

Variables

NameVisibilityDescription
$action_log 
$add_defaults 
$controller_name
The maximum permissable password length; this is likely limited by the hash method used
Currently set to bcrypt's truncate length of 72
$friendly_name 
$manage_cats
The categories which can be edited by the logged in user

Functions

NameVisibilityDescription
__constructpublic 
_addPreRenderprotectedPre-render hook for adding
_addSavepublicSaves the provided POST data into a new record in the database
_deletePreSavepublicPrevents deletion of accounts when the user doesn't have access, and deletion of self
_editPreRenderprotectedPre-render hook for editing
_editSavepublicSaves the provided POST data the specified record
_getAddFormpublicGet add form - but only for partial access ops
_getAddSubActionspublicReturn the sub-actions for adding; for spec AdminController::renderSubActions
_getContentspublicGet contents list - but only for partial access ops
_getDeleteFormpublicGet delete form - but only for partial access ops
_getEditFormpublicGet edit form - but only for partial access ops or for editing your own record
_getToolspublicShow tools - but only for full access ops

public __construct

void $OperatorAdminController->__construct ( );

This function does not have a description

protected _addPreRender

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

Pre-render hook for adding

public _addSave

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

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

public _deletePreSave

void $OperatorAdminController->_deletePreSave ( int $item_id );

Prevents deletion of accounts when the user doesn't have access, and deletion of self

protected _editPreRender

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

Pre-render hook for editing

public _editSave

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

Saves the provided POST data the specified record

public _getAddForm

unknown $OperatorAdminController->_getAddForm ( );

Get add form - but only for partial access ops

public _getAddSubActions

array $OperatorAdminController->_getAddSubActions ( );

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

public _getContents

unknown $OperatorAdminController->_getContents ( );

Get contents list - but only for partial access ops

public _getDeleteForm

unknown $OperatorAdminController->_getDeleteForm ( mixed $item_id );

Get delete form - but only for partial access ops

public _getEditForm

unknown $OperatorAdminController->_getEditForm ( mixed $item_id );

Get edit form - but only for partial access ops or for editing your own record

public _getTools

unknown $OperatorAdminController->_getTools ( );

Show tools - but only for full access ops