PHP. Руководство по PHP. 2005
DOMAttr->__construct()
HREF="function.dom-domattr-isid.html"> Пред.
DOMAttr->__construct()
(no version information, might be only in CVS)DOMAttr->__construct() -- Creates a new DOMAttr object
Описание
class DOMAttr {__construct (string name [, string value])
}
Creates a new DOMAttr object. This object is read only. It may be appended to a document, but additional nodes may not be appended to this node until the node is associated with a document. To create a writeable node, use DOMDocument->createAttribute().