$element->setAttributes()

$element->setAttributes()

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

Description

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

Note

This function can not be called statically.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.