Arena  1.0
A content management system
 All Classes Files Functions Variables Pages
Posting.py File Reference

This file defines and implements a content mediator that is used to create and edit posts. More...

Classes

class  Plugins.Application.Arena.Posting.APostingError
 Represents an error that may occur within the posting module itself. More...
 
class  Plugins.Application.Arena.Posting.APoster
 An engine used to create and edit posts. More...
 

Variables

string Plugins.Application.Arena.Posting.pstActionQueryKey = "undertaking"
 The name of the query key that specifies the action the user desires.
 
string Plugins.Application.Arena.Posting.pstPostIDKey = "id"
 The name of the query key that specifies WHICH post to edit or update.
 
string Plugins.Application.Arena.Posting.pstEditAction = "edit"
 The value of the query key that specifies the user wishes to edit an existing post.
 
string Plugins.Application.Arena.Posting.pstPublishAction = "publish"
 The value of the query key that specifies the user wishes to publish a post.
 
string Plugins.Application.Arena.Posting.pstDeleteAction = "delete"
 The value of the query key that specifies the user wishes to delete a post.
 
string Plugins.Application.Arena.Posting.pstEditViewName = "post/edit"
 The name of the view used to edit posts.
 
string Plugins.Application.Arena.Posting.pstEditErrorTemplateName = "error.tpl.html"
 The template used when a non-fatal error condition occurs.
 
string Plugins.Application.Arena.Posting.pstEditTemplateName = "edit.tpl.html"
 The template used to allow editing of a new or existing post.
 
string Plugins.Application.Arena.Posting.peMissingPostID = "failed to {} post because no post ID was specified"
 The format of the error message used when no post ID is provided for editing.
 
string Plugins.Application.Arena.Posting.peInsufficientRights = "failed to {} post because the current user belongs "
 The format of the error message used when the user does not have the right to update a post.
 

Detailed Description

This file defines and implements a content mediator that is used to create and edit posts.