/** * Method to add a favourite * * @access public * @return boolean True on success * @since 1.0 */ function addfav() { return flexicontent_db::addfav($type = 1, $this->_id, JFactory::getUser()->id); }