I have used the following code in Joomla 3.0 for getting plugin parameters.
new JParameter($plugin->params);
But I am getting error indicating that the class doesn't exist. What is the replacement?
As JParameter was using JRegistry, here is a work around:
$params = new JRegistry();
$params->loadString($module->params);
$params->get('param_name');