DOM XML (PHP 4) 函数
PHP Manual

DomAttribute->specified

(PHP 4 >= 4.1.0)

DomAttribute->specified Checks if attribute is specified

说明

bool DomAttribute::specified ( void )

Checks if the attribute was explicitly given a value in the original document.

Note:

This method is not implemented yet.

返回值

成功时返回 TRUE, 或者在失败时返回 FALSE.

参见


DOM XML (PHP 4) 函数
PHP Manual