function save_conf($option) { global $mainframe; require_once JPATH_ADMINISTRATOR . DS . 'components' . DS . 'com_chronocontact' . DS . 'helpers' . DS . 'plugin.php'; $helper = new ChronoContactHelperPlugin(); $helper->save_conf($option); }
function save_conf($option) { global $mainframe; // turn extras2 into params list //$mainframe->enqueuemessage('$_POST: '.print_r($_POST, true)); //$extra1 = JRequest::getVar( 'extra1', '', 'post', 'array' ); //$mainframe->enqueuemessage('Extra1: '.print_r($extra1, true)); //$extra2 = JRequest::getVar( 'extra2', '', 'post', 'array' ); //$mainframe->enqueuemessage('Extra2: '.print_r($extra2, true)); //$mainframe->enqueuemessage(print_r($row->extra2, true)); require_once JPATH_ADMINISTRATOR . DS . 'components' . DS . 'com_chronocontact' . DS . 'helpers' . DS . 'plugin.php'; $helper = new ChronoContactHelperPlugin(); $helper->save_conf($option); }
function save_conf($option) { require_once JPATH_COMPONENT_ADMINISTRATOR . DS . 'helpers' . DS . 'plugin.php'; $helper = new ChronoContactHelperPlugin(); $helper->save_conf($option); }