CWP\CWP\PageTypes\DatedUpdateHolderController
The parameters apply in the following preference order: - Highest priority: Tag & date (or date range) - Month (and Year) - Pagination
So, when the user click on a tag link, the pagination, and month will be reset, but not the date filter. Also,
changing the date will not affect the tag, but will reset the month and pagination.
When the user clicks on a month, pagination will be reset, but tags retained. Pagination retains all other
parameters.
Synopsis
class DatedUpdateHolderController
extends PageController
{
- // constants
- const TEMP_FORM_MESSAGE = __CLASS__ . '.TempFormMessage;
- // members
- private static array $allowed_actions = ;
- private static array $casting = ;
- // methods
- public string getMetaTitle()
- public string FilterDescription()
- public void getUpdateName()
- protected void init()
- public void parseParams()
- public void AllTagsLink()
- public void UpdateTagsWithLinks()
- public void CurrentTag()
- public void AvailableMonths()
- public void FilteredUpdates()
- public Form DateRangeForm()
- public void doDateFilter()
- public void doDateReset()
- public void rss()
- public void atom()
Hierarchy
Extends
- PageController
Constants
Name | Value |
---|---|
TEMP_FORM_MESSAGE | __CLASS__ . '.TempFormMessage |
Members
private
- $allowed_actions
- $casting
Methods
protected
public
- AllTagsLink() — Build the link - keep the date range, reset the rest.
- AvailableMonths() — Extract the available months based on the current query.
- CurrentTag() — Get the TaxonomyTerm related to the current tag GET parameter.
- DateRangeForm()
- FilterDescription() — Returns a description of the current filter
- FilteredUpdates() — Get the updates based on the current query.
- UpdateTagsWithLinks() — List tags and attach links.
- atom()
- doDateFilter()
- doDateReset()
- getMetaTitle() — Get the meta title for the current action
- getUpdateName()
- parseParams() — Parse URL parameters.
- rss()