API17

API17:JUtility::parseAttributes

From Joomla! Documentation

Joomla 11.1 JUtility::parseAttributes

Description

Method to extract key/value pairs out of a string with xml style attributes.


public static function parseAttributes ($string)
Parameter Type Default Description
$string string String containing xml style attributes
  • Returns array Key/Value pairs for the attributes
  • Defined on line 121 of libraries/joomla/utilities/utility.php
  • Since Joomla 11.1

See also


User contributed notes

Code Examples