\FrontendEditing_Controller
The controller that handles editing submissions from the frontend.
Synopsis
class FrontendEditing_Controller
extends Controller
implements
PermissionProvider
{
- // constants
- const PERM_FRONTEND_EDIT = 'PERM_FRONTEND_EDIT';
- const PERM_FRONTEND_PUBLISH = 'PERM_FRONTEND_PUBLISH';
- // members
- private static array $allowed_actions = ;
- // methods
- public void providePermissions()
- public frontendCommit()
- public void createpage()
- public void deletepage()
- public unknown_type frontendSave()
- protected void validateId()
- public void getcontent()
- public void batchcontent()
Hierarchy
Extends
- Controller
Implements
- PermissionProvider
Constants
Name | Value |
---|---|
PERM_FRONTEND_EDIT | 'PERM_FRONTEND_EDIT' |
PERM_FRONTEND_PUBLISH | 'PERM_FRONTEND_PUBLISH' |
Members
private
- $allowed_actions
Methods
protected
public
- batchcontent()
- createpage()
- deletepage()
- frontendCommit() — Commit a page changed via the frontend editing
- frontendSave() — Save data into the requested object. Need to make sure that we have a logged in user, and we're operating on the draft stage (can't edit the published stuff directly!)
- getcontent() — Gets the content for a particular node. This takes a single parameter to indicate whether to get the RAW content, or whether to get the escaped content that should appear (eg XML_Val) so that things like URLs etc resolve correctly
- providePermissions() — Implementation that provides the following permissions