Restruct\SilverStripe\FilterableArchive\Extensions\HolderControllerExtension
Class FilterableArchiveHolderControllerExtension
Synopsis
class HolderControllerExtension
extends Extension
{
- // members
- private static array $allowed_actions = ;
- private static array $url_handlers = ;
- // methods
- public void date()
- public void getFilteredDate()
- public void tag()
- public void getFilteredTagSegment()
- public void cat()
- public void getFilteredCatSegment()
- public DataList getFilteredArchiveItems()
- public PaginatedList PaginatedItems()
Hierarchy
Extends
- SilverStripe\Core\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
- getFilteredArchiveItems() — Returns items for a given date period.
- getFilteredCatSegment()
- getFilteredDate()
- getFilteredTagSegment()
- tag() — Renders the blog posts for a given tag