class DisallowXPathFunction extends TemplateCheck

Constants

XMLNS_XSL

XSL namespace

Properties

string $funcName

Methods

void
check(DOMElement $template, Tag $tag)

Test for the presence of given XPath function

__construct(string $funcName)

Constructor

array
getExpressions(DOMElement $template)

Get all the potential XPath expressions used in given template

Details

at line 41
void check(DOMElement $template, Tag $tag)

Test for the presence of given XPath function

Parameters

DOMElement $template

node

Tag $tag

Tag this template belongs to

Return Value

void

at line 29
__construct(string $funcName)

Constructor

Parameters

string $funcName

Name of the disallowed function

at line 68
protected array getExpressions(DOMElement $template)

Get all the potential XPath expressions used in given template

Parameters

DOMElement $template

node

Return Value

array

XPath expression as key, reference node as value