/** * Fetch setup status * * @return void */ public function getSetupStatus() { $setupState = NenoHelperBackend::getSetupState(); echo json_encode($setupState); JFactory::getApplication()->close(); }