PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

DOMDocument::createAttributeNS> <DOMDocument::__construct
Last updated: Fri, 04 Jul 2008

view this page in

DOMDocument::createAttribute

(No version information available, might be only in CVS)

DOMDocument::createAttribute — Create 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.



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, 04 Jul 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites