<?php
jimport( 'joomla.application.module.helper' );
public function __construct(&$subject, $config)
{
// get params from module
jimport( 'joomla.application.module.helper' );
$module = JModuleHelper::getModule( 'mod_module_name' );
$params = new JRegistry( $module->params );
$testParam= $params->get('test_field');
parent::__construct($subject, $config);
}
?>
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.