SilverStripe\Blog\Widgets\BlogArchiveWidget
Synopsis
class BlogArchiveWidget
extends Widget
{
- // members
- private static string $title = 'Archive';
- private static string $cmsTitle = 'Archive';
- private static string $description = 'Displays an archive list of posts.';
- private static array $db = ;
- private static array $defaults = ;
- private static array $has_one = ;
- private static string $table_name = 'BlogArchiveWidget';
- // methods
- public void getCMSFields()
- public ArrayList getArchive()
Hierarchy
Extends
- SilverStripe\Widgets\Model\Widget
Members
private
- $cmsTitle — string
- $db — array
- $defaults — array
- $description — string
- $has_one — array
- $table_name — string
- $title — string
Methods
public
- getArchive() — Returns a list of months where blog posts are present.
- getCMSFields() — {@inheritdoc}