SitemapElement
abstract class 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.
SimpleXMLElement|null
toXmlElement(SimpleXMLElement $parentElement = null)
Returns a SimpleXMLElement instance representing this element.
string
getXmlMetaHeader()
Get the XML meta-header.
Details
abstract string[]|null
toXmlLines(string $indenter = ' ')
Returns the XML representation of this element.
abstract SimpleXMLElement|null
toXmlElement(SimpleXMLElement $parentElement = null)
Returns a SimpleXMLElement instance representing this element.
protected string
getXmlMetaHeader()
Get the XML meta-header.