$component = JComponentHelper::getComponent( 'COMPONENT_NAME' ); $params = new JParameter( $component->params );
This is done normally by com_config's component model:
https://github.com/joomla/joomla-cms/blob/master/administrator/components/com_config/models/component.php
You can see there it uses a JTableExtension to store the information
after doing some processing (it's designed to come from a form). In
your case, grabbing the JTableExtension and pushing the params from
the JRegistry into it should do the trick.
Cheers,
Sam Moffatt
http://pasamio.id.au
> --
> You received this message because you are subscribed to the Google Groups
> "Joomla! CMS Development" group.
> To view this discussion on the web, visit
> https://groups.google.com/d/msg/joomla-dev-cms/-/gWA3WCS1X04J.
> To post to this group, send an email to joomla-...@googlegroups.com.
> To unsubscribe from this group, send email to
> joomla-dev-cm...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/joomla-dev-cms?hl=en-GB.