function _openid_get_params
_openid_get_params($str)
File
- modules/openid/openid.inc, line 593
- OpenID utility functions.
Code
function _openid_get_params($str) { $chunks = explode("&", $str); $data = array(); foreach ($chunks as $chunk) { $parts = explode("=", $chunk, 2); if (count($parts) == 2) { list($k, $v) = $parts; $data[$k] = urldecode($v); } } return $data; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!openid!openid.inc/function/_openid_get_params/7.x