DOMElement::hasAttributeNS

(PHP 5, PHP 7)

DOMElement::hasAttributeNS Checks to see if attribute exists

설명

public bool DOMElement::hasAttributeNS ( string $namespaceURI , string $localName )

Indicates whether attribute in namespace namespaceURI named localName exists as a member of the element.

인수

namespaceURI

The namespace URI.

localName

The local name.

반환값

성공 시 TRUE를, 실패 시 FALSE를 반환합니다.

참고

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top