I try to create a JEvents from an other component ?
For the others event component, I use this type of code :
\JModelLegacy::addIncludePath(JPATH_SITE . '/administrator/components/com_yyy/models', 'XXXModel');
\JLoader::import('components.com_yyy.helpers.yyy', JPATH_ADMINISTRATOR);
\JTable::addIncludePath(JPATH_ADMINISTRATOR . '/components/com_yyy/tables');
$ev_model = \JModelLegacy::getInstance('Event', 'XXXX');
$ev_model->save($e);
In Jevents, i didn't find the same structure.
COuld you help me ?