LaravelConf Taiwan 2020 CFP Started

Die SimpleXMLElement-Klasse

(PHP 5, PHP 7)

Einführung

Stellt ein Element in einem XML-Dokument dar.

Klassenbeschreibung

SimpleXMLElement implements Traversable {
/* Methoden */
final public __construct ( string $data [, int $options = 0 [, bool $data_is_url = FALSE [, string $ns = "" [, bool $is_prefix = FALSE ]]]] )
public addAttribute ( string $name [, string $value [, string $namespace ]] ) : void
public addChild ( string $name [, string $value [, string $namespace ]] ) : SimpleXMLElement
public asXML ([ string $filename ] ) : mixed
public attributes ([ string $ns = NULL [, bool $is_prefix = FALSE ]] ) : SimpleXMLElement
public children ([ string $ns [, bool $is_prefix = FALSE ]] ) : SimpleXMLElement
public count ( void ) : int
public getDocNamespaces ([ bool $recursive = FALSE [, bool $from_root = TRUE ]] ) : array
public getName ( void ) : string
public getNamespaces ([ bool $recursive = FALSE ] ) : array
public registerXPathNamespace ( string $prefix , string $ns ) : bool
public __toString ( void ) : string
public xpath ( string $path ) : array
}

Inhaltsverzeichnis

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top