Documentation

Domain
in package

Tags
author

Daniel Schulz

Table of Contents

Constants

ATTR_REFERENCE  = 'ref'
CURRENT_SITEMAP  = 'farah://slothsoft@farah/current-sitemap'
TAG_DOMAIN  = 'domain'
TAG_FILE  = 'file'
TAG_INCLUDE_PAGES  = 'include-pages'
TAG_PAGE  = 'page'
TAG_PARAM  = 'param'
TAG_SITEMAP  = 'sitemap'

Methods

__construct()  : mixed
clearCurrentPageNode()  : void
createWithDefaultSitemap()  : Domain
getCurrentPageNode()  : DOMElement|null
getDocument()  : DOMDocument
lookupAssetUrl()  : FarahUrl
lookupPageNode()  : DOMElement
setCurrentPageNode()  : void
toRoutes()  : array<string|int, mixed>

Constants

ATTR_REFERENCE

public mixed ATTR_REFERENCE = 'ref'

CURRENT_SITEMAP

public mixed CURRENT_SITEMAP = 'farah://slothsoft@farah/current-sitemap'

TAG_DOMAIN

public mixed TAG_DOMAIN = 'domain'

TAG_FILE

public mixed TAG_FILE = 'file'

TAG_INCLUDE_PAGES

public mixed TAG_INCLUDE_PAGES = 'include-pages'

TAG_PAGE

public mixed TAG_PAGE = 'page'

TAG_PARAM

public mixed TAG_PARAM = 'param'

TAG_SITEMAP

public mixed TAG_SITEMAP = 'sitemap'

Methods

__construct()

public __construct(DOMDocument $document) : mixed
Parameters
$document : DOMDocument

clearCurrentPageNode()

public clearCurrentPageNode() : void

createWithDefaultSitemap()

public static createWithDefaultSitemap() : Domain
Return values
Domain

getCurrentPageNode()

public getCurrentPageNode() : DOMElement|null
Return values
DOMElement|null

getDocument()

public getDocument() : DOMDocument
Return values
DOMDocument

lookupAssetUrl()

public lookupAssetUrl(DOMElement $dataNode[, array<string|int, mixed> $args = [] ]) : FarahUrl
Parameters
$dataNode : DOMElement
$args : array<string|int, mixed> = []
Return values
FarahUrl

lookupPageNode()

public lookupPageNode(string $path[, DOMElement $contextNode = null ]) : DOMElement
Parameters
$path : string
$contextNode : DOMElement = null
Return values
DOMElement

setCurrentPageNode()

public setCurrentPageNode(DOMElement $pageNode) : void
Parameters
$pageNode : DOMElement

toRoutes()

public toRoutes() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results