function __construct() { $app = JFactory::getApplication(); //If no User ID is set to current logged in user $this->_user_id = $app->input->get('profile_id', JFactory::getUser()->id); parent::__construct(); }
function __construct() { $app = JFactory::getApplication(); //If no User ID is set to current logged in user $this->_user_id = $app->input->get('profile_id', JFactory::getUser()->id); $app = JFactory::getApplication(); $this->_cat_id = $app->input->get('id', null); $this->_usereducation_id = $app->input->get('user_education_id', null); $this->_formdata = $app->input->get('jform', array(), 'array'); parent::__construct(); }