class XmlElement extends SimpleXMLElement (View source)

Methods

mixed
get(string $attr, mixed $default = null)

Provides access to element's children.

Details

mixed get(string $attr, mixed $default = null)

Provides access to element's children.

With chance for default value.

Parameters

string $attr Attribute
mixed $default

Default Value

Return Value

mixed