function __construct() { parent::__construct(); $app = JFactory::getApplication(); $this->_library_id = $app->input->get('library_id', null); $this->_user_id = $app->input->get('user_id', JFactory::getUser()->id); }
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() { parent::__construct(); }
function __construct() { $app = JFactory::getApplication(); $this->_user_id = isset($this->_user_id) ? $this->_user_id : $app->input->get('profile_id'); parent::__construct(); }
function __construct() { $app = JFactory::getApplication(); $this->_book_id = $app->input->get('id', null); parent::__construct(); }