\Page
Class Page
Synopsis
class Page
extends SiteTree
{
- // members
- private static array $db = ;
- private static array $has_one = ;
- private static array $has_many = ;
- private static array $owns = ;
- private static string $default_image = '/favicon-152.png';
- // methods
- public void getCMSFields()
- public string getOGImage()
- public string MetaTags()
Hierarchy
Extends
- SilverStripe\CMS\Model\SiteTree
Members
private
- $db
- $default_image
- $has_many
- $has_one
- $owns
Methods
public
- MetaTags() — Make sure a meta description tag is set even if no description is given
- getCMSFields()
- getOGImage() — Override the default Open Graph Image