\MySEO_Metadata_SiteTree_DataExtension
Synopsis
class MySEO_Metadata_SiteTree_DataExtension
extends SEO_Metadata_SiteTree_DataExtension
{
- // methods
- public string GenerateDescription()
- // Inherited methods from SEO_Metadata_SiteTree_DataExtension
- public void updateCMSFields()
- public array getSEOFields()
- public array getFullOutput()
- public string Metadata()
- public void updateMetadata()
- public string MarkupComment()
- public string MarkupMeta()
- public string MarkupLink()
- public string|null GenerateTitle()
- public string|null GenerateDescription()
- public string|null GenerateDescriptionFromContent()
- public string GenerateExtraMeta()
- public string encodeContent()
Hierarchy
Methods
public
- GenerateDescription() — Override the GenerateDescription function
Inherited from SEO_Metadata_SiteTree_DataExtension
public
- GenerateDescription() — Generates description from the page `MetaDescription`, or the first paragraph of the `Content` attribute.
- GenerateDescriptionFromContent() — Generates description from the first paragraph of the `Content` attribute.
- GenerateExtraMeta() — Generates extra metadata.
- GenerateTitle() — Generates HTML title based on configuration settings.
- MarkupComment() — Returns a given string as a HTML comment.
- MarkupLink() — Returns markup for a HTML link element.
- MarkupMeta() — Returns markup for a HTML meta element. Can be flagged for encoding.
- Metadata() — Main function to format & output metadata as an HTML string.
- encodeContent() — Returns a plain or HTML-encoded string according to the current charset & encoding settings.
- getFullOutput() — Gets the full output.
- getSEOFields() — Gets SEO fields.
- updateCMSFields()
- updateMetadata() — Updates metadata fields.