- extracted from populate_recent_changes, the recent_changes_sources that enables to filter early. Added author_name to the CMS_RECENT_CHANGE_ITEM to support author which is not related to any CMS_USER. Implemented the simple filtering on source and add parameters size and date.
25 lines
526 B
Plaintext
25 lines
526 B
Plaintext
note
|
|
description: "Hook provided by module {CMS_RECENT_CHANGES_MODULE}."
|
|
date: "$Date$"
|
|
revision: "$Revision$"
|
|
|
|
deferred class
|
|
CMS_RECENT_CHANGES_HOOK
|
|
|
|
inherit
|
|
CMS_HOOK
|
|
|
|
feature -- Invocation
|
|
|
|
recent_changes_sources: detachable LIST [READABLE_STRING_8]
|
|
-- Source provided by Current hook.
|
|
deferred
|
|
end
|
|
|
|
populate_recent_changes (a_changes: CMS_RECENT_CHANGE_CONTAINER; a_current_user: detachable CMS_USER)
|
|
-- Populate recent changes inside `a_changes' according to associated parameters.
|
|
deferred
|
|
end
|
|
|
|
end
|