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); $this->_jinput = JFactory::getApplication()->input; $this->_formdata = $this->_jinput->get('jform', array(), 'array'); parent::__construct(); }
function __construct() { $app = JFactory::getApplication('site'); //If no User ID is set to current logged in user $this->_user_id = $app->input->get('profile_id', JFactory::getUser()->id); $this->_ddcbalance_id = $app->input->getInt('ddcbalance_id', null); $this->_ddcaccount_id = $app->input->get('ddcaccount_id', null, 'integer'); $this->_datestart = $app->input->get('datestart', null); $this->_dateend = $app->input->get('dateend', null); 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); $this->_ddcaccounttype_id = $app->input->get('ddcaccounttype_id', null); $this->_cat_id = $app->input->get('id', null); $this->_datestart = $app->input->get('datestart', null); $this->_dateend = $app->input->get('dateend', null); $jinput = JFactory::getApplication()->input; $this->_formdata = $jinput->get('jform', array(), 'array'); parent::__construct(); }