Documentation

Core_SimpleXMLElement extends SimpleXMLElement
in package

SimpleXMLElement

Tags
subpackage

Core

version
7.x
author

Hostmake LLC

copyright

© 2005-2024 ООО "Хостмэйк" (Hostmake LLC), http://www.hostcms.ru

Table of Contents

Methods

addAttribute()  : mixed
Adds an attribute to the SimpleXML element
addChild()  : mixed
Adds a child element to the node and returns a SimpleXMLElement of the child

Methods

addAttribute()

Adds an attribute to the SimpleXML element

public addAttribute(string $name[, string $value = null ][, string $namespace = null ]) : mixed
Parameters
$name : string

attribute name

$value : string = null

attribute value

$namespace : string = null

namespace

addChild()

Adds a child element to the node and returns a SimpleXMLElement of the child

public addChild(string $name[, string $value = null ][, string $namespace = null ]) : mixed
Parameters
$name : string

element name

$value : string = null

element value

$namespace : string = null

namespace


        
On this page

Search results