Added support for user, user_roles, page, blog export and import.
Added basic support for comments, for now mainly viewing comments from database (no submission forms yet). Added first simple wikitext filter (render wikitext content as xhtml). Ensure response content type is text/html with utf-8 charset.
This commit is contained in:
46
modules/comments/persistence/cms_comments_storage_null.e
Normal file
46
modules/comments/persistence/cms_comments_storage_null.e
Normal file
@@ -0,0 +1,46 @@
|
||||
note
|
||||
description: "Summary description for {CMS_COMMENTS_STORAGE_NULL}."
|
||||
date: "$Date$"
|
||||
revision: "$Revision$"
|
||||
|
||||
class
|
||||
CMS_COMMENTS_STORAGE_NULL
|
||||
|
||||
inherit
|
||||
CMS_COMMENTS_STORAGE_I
|
||||
|
||||
create
|
||||
make
|
||||
|
||||
feature {NONE} -- Initialization
|
||||
|
||||
make
|
||||
-- Initialize `Current'.
|
||||
do
|
||||
create error_handler.make
|
||||
end
|
||||
|
||||
feature -- Error Handling
|
||||
|
||||
error_handler: ERROR_HANDLER
|
||||
-- Error handler.
|
||||
|
||||
feature -- Access
|
||||
|
||||
comment (a_cid: INTEGER_64): detachable CMS_COMMENT
|
||||
do
|
||||
end
|
||||
|
||||
comments_for (a_content: CMS_CONTENT): detachable LIST [CMS_COMMENT]
|
||||
-- Comments for `a_content`.
|
||||
do
|
||||
end
|
||||
|
||||
feature -- Change
|
||||
|
||||
save_comment (a_comment: CMS_COMMENT)
|
||||
-- Save `a_comment`.
|
||||
do
|
||||
end
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user