\FilterableArchiveHolder_ControllerExtension
Synopsis
class FilterableArchiveHolder_ControllerExtension
extends Extension
{
- // members
- private static array $allowed_actions = ;
- private static array $url_handlers = ;
- // methods
- public SS_HTTPResponse date()
- public BlogTag|null getCurrentTag()
- public BlogCategory|null getCurrentCategory()
- public SS_HTTPResponse tag()
- public SS_HTTPResponse cat()
- public PaginatedList PaginatedItems()
- public int|null getArchiveYear()
- public int|null getArchiveMonth()
- public int|null getArchiveDay()
- public Date getArchiveDate()
Hierarchy
Extends
- Extension
Members
private
- $allowed_actions
- $url_handlers
Methods
public
- PaginatedItems() — Returns a list of paginated blog posts based on the blogPost dataList
- cat() — Renders the blog posts for a given category
- date() — Renders an archive for a specificed date. This can be by year or year/month
- getArchiveDate() — Returns the current archive date.
- getArchiveDay() — Fetches the archive day from the url
- getArchiveMonth() — Fetches the archive money from the url.
- getArchiveYear() — Fetches the archive year from the url
- getCurrentCategory() — Category Getter for use in templates.
- getCurrentTag() — Tag Getter for use in templates.
- tag() — Renders the blog posts for a given tag.