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

__construct(Page $page, SimpleXMLElement $node)

Initialize the instance.

getSubject()

{@inheritdoc}

getPage()

Get the page for which we are building the sitemap node.

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.

Parameters

Page $page the page for which we are building the sitemap node
SimpleXMLElement $node the sitemap XML node

getSubject()

{@inheritdoc}

See also

Page getPage()

Get the page for which we are building the sitemap node.

Return Value

Page

SimpleXMLElement|null getNode()

Get the sitemap XML node (may be set to null by an event listener).

Return Value

SimpleXMLElement|null

setNode(SimpleXMLElement $newNode = null)

Replace the sitemap XML node (use NULL to skip this node).

Parameters

SimpleXMLElement $newNode