method setAttribute is missing
semanticfire opened this issue · comments
In the original fcms implementation there was a setAttribute function, tried to add the code below:
public function setAttribute($attr, $value, $keepEntities=false) {
if ($keepEntities === true) {
$attrNode = $this->ownerDocument->createAttribute($attr);
if (!$attrNode) return false;
$attrNode->value = $value;
$this->appendChild($attrNode);
return $attrNode;
}
return parent::setAttribute($attr, $value);
}
this restores that functionality
fDomElement is what I'm talking about....
Going to re-add this feature with the next fDOM Release.
Implemented with commit de14408