class DisallowObjectParamsWithGeneratedName extends TemplateCheck

Constants

XMLNS_XSL

XSL namespace

Methods

void
check(DOMElement $template, Tag $tag)

Check for elements with a generated "name" attribute

Details

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

Check for elements with a generated "name" attribute

This check will reject elements whose "name" attribute is generated by an element. This is a setup that has no practical use and should be eliminated because it makes it much harder to check the param's name, and therefore infer the type of content it expects

Parameters

DOMElement $template

node

Tag $tag

Tag this template belongs to

Return Value

void