protected function elementHasSafeUrl(DOMElement $element)
	{
		return $element->firstChild instanceof DOMText && $this->isSafeUrl($element->firstChild->textContent);
	}
protected function elementHasSafeUrl(DOMElement $element)
	{
		return $element->firstChild instanceof DOMText && $this->isSafeUrl($element->firstChild->textContent);
	}
protected function elementHasSafeUrl ( DOMElement $ element ) { return $ element -> firstChild instanceof DOMText && $ this -> isSafeUrl ( $ element -> firstChild -> textContent ) ; }
Test whether given element contains a known-safe URL

@param  DOMElement $element
@return bool
Test whether given element contains a known - safe URL