suche nach in der

DOMDocument::createAttributeNS> <DOMDocument::__construct
Last updated: Fri, 18 May 2012

view this page in

DOMDocument::createAttribute

(PHP 5)

DOMDocument::createAttributeCreate new attribute

Beschreibung

DOMAttr DOMDocument::createAttribute ( string $name )

This function creates a new instance of class DOMAttr. Dieser Knoten wird in Ihrem Dokument nicht sichtbar sein, bis dieser zum Beispiel mit der Funktion DOMNode::appendChild eingefügt wird.

Parameter-Liste

name

The name of the attribute.

Rückgabewerte

The new DOMAttr or FALSE if an error occured.

Fehler/Exceptions

DOM_INVALID_CHARACTER_ERR

Raised if name contains an invalid character.

Siehe auch



add a note add a note User Contributed Notes
DOMDocument::createAttribute
There are no user contributed notes for this page.

DOMDocument::createAttributeNS> <DOMDocument::__construct
Last updated: Fri, 18 May 2012