$element->setAttributes() – Sets the HTML attributes


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.


  • $attributes Either a typical HTML attribute string or an associative array


throws no exceptions thrown


This function can not be called statically.

Removes an attributes (Previous) Output HTML and children (Next)
Last updated: Sun, 19 Dec 2010 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.