\PortfolioPage
Class PortfolioPage
Synopsis
class PortfolioPage
extends Page
{
- // members
- private static string $icon = 'boilerplate/code/Modules/Portfolio/images/blog.png';
- private static array $db = ;
- private static array $has_many = ;
- private static array $defaults = ;
- private static string $singular_name = 'Portfolio Post';
- private static string $plural_name = 'Portfolio Posts';
- private static array $summary_fields = ;
- private static string $allowed_children = 'none';
- private static bool $can_be_root = false;
- private static string $description = 'Portfolio content page';
- // methods
- public Image|string getThumbnail()
- public FieldList getCMSFields()
- public array|HTMLText index()
Hierarchy
Extends
- Page
Members
private
- $allowed_children — string
- $can_be_root — bool
- $db — array
- $defaults — array
- $description — string
- $has_many — array
- $icon — string
- $plural_name — string
- $singular_name — string
- $summary_fields — array
Methods
public
- getCMSFields()
- getThumbnail() — Get the thumbnail of Image()
- index()