protected function checkDynamicParams(DOMElement $object)
	{
		foreach ($this->getObjectParams($object) as $param)
		{
			foreach ($param->getElementsByTagNameNS(self::XMLNS_XSL, 'attribute') as $attribute)
			{
				// Test for a dynamic "value" attribute
				if (strtolower($attribute->getAttribute('name')) === 'value')
				{
					throw new UnsafeTemplateException('Cannot assess the safety of dynamic attributes', $attribute);
				}
			}
		}
	}
protected function checkDynamicParams(DOMElement $object)
	{
		foreach ($this->getObjectParams($object) as $param)
		{
			foreach ($param->getElementsByTagNameNS(self::XMLNS_XSL, 'attribute') as $attribute)
			{
				// Test for a dynamic "value" attribute
				if (strtolower($attribute->getAttribute('name')) === 'value')
				{
					throw new UnsafeTemplateException('Cannot assess the safety of dynamic attributes', $attribute);
				}
			}
		}
	}
protected function checkDynamicParams ( DOMElement $ object ) { foreach ( $ this -> getObjectParams ( $ object ) as $ param ) { foreach ( $ param -> getElementsByTagNameNS ( self :: XMLNS_XSL , 'attribute' ) as $ attribute ) { // Test for a dynamic "value" attribute if ( strtolower ( $ attribute -> getAttribute ( 'name' ) ) === 'value' ) { throw new UnsafeTemplateException ( 'Cannot assess the safety of dynamic attributes' , $ attribute ) ; } } } }
Test the presence of dynamic params in given object

@param  DOMElement $object Context element
@return void
Test the presence of dynamic params in given object