core
db
html
utility
HtmlElement::getAttribute
public string getAttribute
( string $name )
設定されている属性の属性値を取得します。
パラメーター
| 名前 | 型 | 内容 |
|---|---|---|
| $name | string | 属性名。 |
返り値
指定された属性の属性値を返します。
| 名前 | 型 | 内容 |
|---|---|---|
| $name | string | 属性名。 |