DOMElement->getAttribute()
(No version information available, might be only in CVS)
DOMElement->getAttribute() — 属性の値を返す
説明
DOMElement
string getAttribute
( string $name
)
現在のノードから、名前が name である 属性の値を取得します。
パラメータ
- name
-
属性の名前。
返り値
属性の値、あるいは name に対応する属性が 見つからなかった場合には空の文字列を返します。