$element->removeAttributes()
$element->removeAttributes() – Removes an attributes
Synopsis
$element->removeAttributes (
mixed $attrs
)
Описание
use this to remove attributes from the tag when the element is rendered, It may be easier to access the attributes array directly and assign the value to false.
Parameter
-
$attributes
name or array of names to remove from tag
Throws
throws
Замечание
This function can not be called statically.