class DatedUpdateHolderController extends PageController (View source)

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.

Constants

TEMP_FORM_MESSAGE

The session key for storing temporary form messages

Properties

Methods

public
string
getMetaTitle()

Get the meta title for the current action

public
string
FilterDescription()

Returns a description of the current filter

public
getUpdateName()

No description

protected
init()

No description

public
parseParams(bool $produceErrorMessages = true)

Parse URL parameters.

public
AllTagsLink()

Build the link - keep the date range, reset the rest.

public
UpdateTagsWithLinks()

List tags and attach links.

public
CurrentTag()

Get the TaxonomyTerm related to the current tag GET parameter.

public
AvailableMonths()

Extract the available months based on the current query.

public
FilteredUpdates($pageSize = 20)

Get the updates based on the current query.

public
DateRangeForm()

No description

public
doDateFilter()

No description

public
doDateReset()

No description

public
rss()

No description

public
atom()

No description

Details

string getMetaTitle()

Get the meta title for the current action

Return Value

string

string FilterDescription()

Returns a description of the current filter

Return Value

string

getUpdateName()

No description

protected init()

No description

parseParams(bool $produceErrorMessages = true)

Parse URL parameters.

Parameters

bool $produceErrorMessages

Set to false to omit session messages.

Build the link - keep the date range, reset the rest.

List tags and attach links.

CurrentTag()

Get the TaxonomyTerm related to the current tag GET parameter.

AvailableMonths()

Extract the available months based on the current query.

Only tag is respected. Pagination and months are ignored.

FilteredUpdates($pageSize = 20)

Get the updates based on the current query.

Parameters

$pageSize

Form DateRangeForm()

No description

Return Value

Form

doDateFilter()

No description

doDateReset()

No description

rss()

No description

atom()

No description