\SEO_Metadata_SiteTree_DataExtension
Class SEO_Metadata_SiteTree_DataExtension
Synopsis
class SEO_Metadata_SiteTree_DataExtension
extends DataExtension
{
- // members
- private static array $db = ;
- // methods
- 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
Extends
- DataExtension
Members
private
- $db
—
array
Database attributes.
Methods
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.