DeprecatedPageReadyEvent
class DeprecatedPageReadyEvent extends GenericEvent (View source)
Properties
protected Page | $page | The page for which we are building the sitemap node. |
|
protected SimpleXMLElement|null | $node | The sitemap XML node (may be set to null by an event listener). |
Methods
getSubject()
{@inheritdoc}
SimpleXMLElement|null
getNode()
Get the sitemap XML node (may be set to null by an event listener).
setNode(SimpleXMLElement $newNode = null)
Replace the sitemap XML node (use NULL to skip this node).
Details
__construct(Page $page, SimpleXMLElement $node)
Initialize the instance.
getSubject()
{@inheritdoc}
Page
getPage()
Get the page for which we are building the sitemap node.
SimpleXMLElement|null
getNode()
Get the sitemap XML node (may be set to null by an event listener).
setNode(SimpleXMLElement $newNode = null)
Replace the sitemap XML node (use NULL to skip this node).