SitemapHeader
class SitemapHeader 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. |
Properties
protected bool | $isMultilingual | Is multilingual supported? |
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.
__construct(bool $isMultilingual)
Initialize the instance.
bool
isIsMultilingual()
Is multilingual supported?
$this
setIsMultilingual(bool $isMultilingual)
Is multilingual supported?
string[]
getUrlset(bool $selfClosing)
No description
Details
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.
protected string
getXmlMetaHeader()
Get the XML meta-header.
__construct(bool $isMultilingual)
Initialize the instance.
bool
isIsMultilingual()
Is multilingual supported?
$this
setIsMultilingual(bool $isMultilingual)
Is multilingual supported?
protected string[]
getUrlset(bool $selfClosing)
No description