Curry
PHP Framework

core

db

html

utility

HtmlElement::setAttributes

public HtmlElement setAttributes ( array $attaributes )
エレメエントの属性値を復数一度に設定します。
パラメーターには属性名と属性値の組み合わせの配列を指定します。
これは個々の属性の設定をsetAttributeメソッドにより複数回実行するの同じいみになります。

パラメーター

名前 内容
$attaributes array キーに属性名、値に属性値という構造の配列。

返り値

自身のインスタンスを返します。