Jellygnite\Seo\Extensions\PageSeoExtension
Class PageSeoExtension
Synopsis
class PageSeoExtension
extends DataExtension
{
- // members
- private static array $cascade_deletes = ;
- private static array $db = ;
- private static bool $enable_creator_tag = false;
- private static string $content_holder = "body";
- private static array $has_one = ;
- private static array $owns = ;
- // methods
- public void MetaTags()
- public void defaultMetaTitle()
- public void onBeforeWrite()
- public void updateCMSFields()
Hierarchy
Extends
- SilverStripe\ORM\DataExtension
Uses
- SilverStripe\Core\Config\Configurable
Members
private
- $cascade_deletes
- $content_holder
—
string
The "content_holder" is the div or html tag that holds the content for the page. Default is body - $db
- $enable_creator_tag
—
Jellygnite\Seo\Extensions\bool
The "creator tag" is the meta tag for Twitter to specify the creators Twitter account. Disabled by default - $has_one
- $owns
Methods
public
- MetaTags() — Extension point for SiteTree to merge all tags with the standard meta tags
- defaultMetaTitle()
- onBeforeWrite()
- updateCMSFields()