SilverStripe\Blog\Widgets\BlogRecentPostsWidget
Synopsis
class BlogRecentPostsWidget
extends Widget
{
- // members
- private static string $title = 'Recent Posts';
- private static string $cmsTitle = 'Recent Posts';
- private static string $description = 'Displays a list of recent blog posts.';
- private static array $db = ;
- private static array $has_one = ;
- private static string $table_name = 'BlogRecentPostsWidget';
- // methods
- public void getCMSFields()
- public array|DataList getPosts()
Hierarchy
Extends
- SilverStripe\Widgets\Model\Widget
Members
private
- $cmsTitle — string
- $db — array
- $description — string
- $has_one — array
- $table_name — string
- $title — string
Methods
public
- getCMSFields() — {@inheritdoc}
- getPosts()