$element->setAttributes()
$element->setAttributes() – Sets the HTML attributes
Synopsis
require_once 'Flexy/Element.php';
HTML_Template_Flexy_Element::setAttributes (
mixed $attributes
)
Описание
Can be used to set attribute values, It is easier to set the attributes directly using the public attributes property.
Parameter
-
$attributes
Either a typical HTML attribute string or an associative array
Throws
throws no exceptions thrown
Замечание
This function can not be called statically.