$ex_object->loadRefGroup();
// loadAllFwdRefs ne marche pas bien (a cause de la clé primaire)
foreach ($ex_object->_specs as $_field => $_spec) {
    if ($_spec instanceof CRefSpec && $_field != $ex_object->_spec->key) {
        $class = $_spec->meta ? $ex_object->{$_spec->meta} : $_spec->class;
        if (!$class) {
            continue;
        }
        /** @var CMbObject $obj */
        $obj = new $class();
        $obj->load($ex_object->{$_field});
        $ex_object->_fwd[$_field] = $obj;
    }
}
$all_fields = $ex_object->getReportedValues($ex_class_event);
$ex_object->setFieldsDisplay($all_fields);
$ex_object->loadRefAdditionalObject();
// depends on setReferenceObject_1 and setReferenceObject_2
$ex_object->loadNativeViews($ex_class_event);
/** @var CExClassField[] $fields */
$fields = array();
foreach ($groups as $_group) {
    $fields = array_merge($_group->_ref_fields, $fields);
    if ($_group->_ref_host_fields) {
        foreach ($_group->_ref_host_fields as $_host_field) {
            $_host_field->getHostObject($ex_object);
        }
    }
}
CStoredObject::massLoadFwdRef($fields, "concept_id");
CStoredObject::massCountBackRefs($fields, "ex_triggers");