GetAttr Method

Returns the value of the specified attribute.

Object Oriented Interface

public function doGetAttr($attrname);

Procedural Interface

ipworks_xml_do_getattr($res, $attrname);

Remarks

This method returns the value of the attribute specified by the AttrName parameter.

If the attribute does not exist an empty string is returned. The behavior when an attribute does not exit is controlled by ErrorOnEmptyAttr.

Please refer to the AttrName, AttrNamespace, AttrPrefix, and AttrValue properties for more information.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 PHP Edition - Version 20.0 [Build 8307]