class SitemapFooter extends SitemapElement (View source)

Constants

DEFAULT_NAMESPACE

The default sitemap namespace.

MULTILINGUAL_NAMESPACE

The namespace required for the multilingual alternatives.

MULTILINGUAL_NAMESPACE_NAME

The alias of the namespace required for the multilingual alternatives.

Methods

string[]|null
toXmlLines(string $indenter = ' ')

Returns the XML representation of this element.

toXmlElement(SimpleXMLElement $parentElement = null)

Returns a SimpleXMLElement instance representing this element.

string
getXmlMetaHeader()

Get the XML meta-header.

Details

string[]|null toXmlLines(string $indenter = ' ')

Returns the XML representation of this element.

Parameters

string $indenter The string used to indent the XML

Return Value

string[]|null Returns NULL in case no data should be generated, the XML lines otherwise

See also

\Concrete\Core\Page\Sitemap\Element\SitemapElement::toXmlLines()

SimpleXMLElement|null toXmlElement(SimpleXMLElement $parentElement = null)

Returns a SimpleXMLElement instance representing this element.

Parameters

SimpleXMLElement $parentElement

Return Value

SimpleXMLElement|null

See also

\Concrete\Core\Page\Sitemap\Element\SitemapElement::toXmlElement()

protected string getXmlMetaHeader()

Get the XML meta-header.

Return Value

string