CWP\CWP\PageTypes\EventHolderController
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 EventHolderController
extends DatedUpdateHolderController
{
- // Inherited constants from DatedUpdateHolderController
- const TEMP_FORM_MESSAGE = __CLASS__ . '.TempFormMessage;
- // methods
- public void getUpdateName()
- public void parseParams()
- public void FilteredUpdates()
- // Inherited methods from DatedUpdateHolderController
- 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
Constants
Name | Value |
---|---|
TEMP_FORM_MESSAGE | __CLASS__ . '.TempFormMessage |
Methods
public
- FilteredUpdates() — Get the events based on the current query.
- getUpdateName()
- parseParams() — Parse URL parameters.
Inherited from CWP\CWP\PageTypes\DatedUpdateHolderController
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()