Compzone.Org :: Podręcznik PHP :: DOMDocument->createAttribute()
Jaki jest Twój wiek?
40 - 59
26 - 39
19 - 25
13 - 18
12 i mniej
60 i więcej
Sonda Wyniki

Add to Google

DOMDocument->createAttribute()

(no version information, might be only in CVS)

DOMDocument->createAttribute() -- Create new attribute

Opis

class DOMDocument {

DOMAttr createAttribute ( string name )

}

This function creates a new instance of class DOMAttr. Ten węzeł nie pojawi się w dokumencie dopóki nie zostanie wstawiony, np. metodą DOMNode->appendChild().

Parametry

name

The name of the attribute.

Zwracane wartości

The new DOMAttr or FALSE if an error occured.

Wyjątki

DOM_INVALID_CHARACTER_ERR

Raised if name contains an invalid character.

Copyright © 2005-2006 Compzone.Org. Kopiowanie i wykorzystywanie materiałów zawartych na tej stronie bez zgody autora zabronione!