grthtrhthjhtyjytjytkergtrhtrjytjerhrfh4:24 29/09/2026createDomain('consents', 'joomla_consent_data'); $query = $this->db->getQuery(true) ->select('*') ->from($this->db->quoteName('#__privacy_consents')) ->where($this->db->quoteName('user_id') . ' = ' . (int) $user->id) ->order($this->db->quoteName('created') . ' ASC'); $items = $this->db->setQuery($query)->loadAssocList(); foreach ($items as $item) { $domain->addItem($this->createItemFromArray($item)); } return array($domain); } }