- now, the CMS_PAGE_MODULE has to be declared in the related CMS_SETUP via CMS_EXECUTION. (See demo for example) Improved the export facilities. Implemented blog and page export. Added import facilities. Implemented blog and page import. Improved node revision web interface (allow to edit a past revision, in order to restore it as latest revisionm i.e current). Removed specific tag from blog module, and reuse the taxonomy module for that purpose. Added WIKITEXT module that provide a WIKITEXT_FILTER, so now we can have wikitext content. - for now, no support for wiki links such as [[Foobar]].
55 lines
1.3 KiB
Plaintext
55 lines
1.3 KiB
Plaintext
note
|
|
description: "Interface for accessing blog contents from the database."
|
|
date: "$Date: 2015-01-27 19:15:02 +0100 (mar., 27 janv. 2015) $"
|
|
revision: "$Revision: 96542 $"
|
|
|
|
deferred class
|
|
CMS_BLOG_STORAGE_I
|
|
|
|
feature -- Error Handling
|
|
|
|
error_handler: ERROR_HANDLER
|
|
-- Error handler.
|
|
deferred
|
|
end
|
|
|
|
feature -- Access
|
|
|
|
blogs_count: INTEGER_64
|
|
-- Count of blog nodes
|
|
deferred
|
|
end
|
|
|
|
blogs_count_from_user (a_user: CMS_USER) : INTEGER_64
|
|
-- Number of nodes of type blog from `a_user'.
|
|
require
|
|
has_id: a_user.has_id
|
|
deferred
|
|
end
|
|
|
|
blogs: LIST [CMS_NODE]
|
|
-- List of nodes ordered by creation date (descending).
|
|
deferred
|
|
end
|
|
|
|
blogs_limited (limit: NATURAL_32; offset: NATURAL_32): LIST [CMS_NODE]
|
|
-- List of posts ordered by creation date from offset to offset + limit.
|
|
deferred
|
|
end
|
|
|
|
blogs_from_user_limited (a_user: CMS_USER; limit: NATURAL_32; offset: NATURAL_32): LIST [CMS_NODE]
|
|
-- List of posts from `a_user' ordered by creation date from offset to offset + limit.
|
|
require
|
|
has_id: a_user.has_id
|
|
deferred
|
|
end
|
|
|
|
blogs_from_user_with_title (a_user: CMS_USER; a_title: READABLE_STRING_GENERAL): LIST [CMS_NODE]
|
|
-- List of blogs from `a_user' with title `a_title` and ordered by creation date.
|
|
require
|
|
has_id: a_user.has_id
|
|
deferred
|
|
end
|
|
|
|
end
|