Property | Type | Description | |
---|---|---|---|
$attrs | array | Attributes | |
$data | string | Node data | |
$name | string | Tag name | |
$ns | string | Namespace | |
$subs | array | Subs? |
Method | Description | |
---|---|---|
__construct ( string $name, string $ns = '', array $attrs = [], string $data = '' ) | Constructor | |
hasSub ( string $name, $ns = null ) : boolean | Has this XML Object the given sub? | |
printObj ( integer $depth ) | Dump this XML Object to output. | |
sub ( string $name, string $attrs = null, string $ns = null ) | Return a sub | |
toString ( string $str = '' ) | Return this XML Object in xml notation |