Source for file utility.php
Documentation is available at utility.php
 * @package     Joomla.Platform  
 * @copyright   Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.  
 * @license     GNU General Public License version 2 or later; see LICENSE  
 * JUtility is a utility functions class  
 * @package     Joomla.Platform  
     * Method to extract key/value pairs out of a string with XML style attributes  
     * @param   string  $string  String containing XML style attributes  
     * @return  array  Key/Value pairs for the attributes  
        // Let's grab all the key/value pairs using a regular expression  
            $numPairs = 
count($attr[1]);  
            for ($i = 
0; $i < 
$numPairs; $i++
)  
                $retarray[$attr[1][$i]] = 
$attr[2][$i];  
 
 
	
		Documentation generated on Tue, 19 Nov 2013 15:16:43 +0100 by phpDocumentor 1.4.3