API17:JUtility::parseAttributes
From Joomla! Documentation
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

See also
JUtility::parseAttributes source code on BitBucket
Class JUtility
Subpackage Utilities- Other versions of JUtility::parseAttributes
User contributed notes
Code Examples