protected function createCheckboxes()
    {
        $output =
            '<form action="' . htmlspecialchars(BackendUtility::getModuleUrl('tools_txphpunitbeM1'))
            . '" method="post">';
        $output .= '<div class="phpunit-controls">';
        $failureState = $this->userSettingsService->getAsBoolean('failure') ? 'checked="checked"' : '';
        $errorState = $this->userSettingsService->getAsBoolean('error') ? 'checked="checked"' : '';
        $skippedState = $this->userSettingsService->getAsBoolean('skipped') ? 'checked="checked"' : '';
        $successState = $this->userSettingsService->getAsBoolean('success') ? 'checked="checked"' : '';
        $incompleteState = $this->userSettingsService->getAsBoolean('incomplete') ? 'checked="checked"' : '';
        $showTime = $this->userSettingsService->getAsBoolean('showTime') ? 'checked="checked"' : '';
        $testdoxState = $this->userSettingsService->getAsBoolean('testdox') ? 'checked="checked"' : '';
        $output .= '<input type="checkbox" id="SET_success" ' . $successState . ' /><label for="SET_success">'
            . $this->translate('success') . '</label>';
        $output .= ' <input type="checkbox" id="SET_failure" ' . $failureState . ' /><label for="SET_failure">'
            . $this->translate('failure') . '</label>';
        $output .= ' <input type="checkbox" id="SET_skipped" ' . $skippedState . ' /><label for="SET_skipped">'
            . $this->translate('skipped') . '</label>';
        $output .= ' <input type="checkbox" id="SET_error" ' . $errorState . ' /><label for="SET_error">'
            . $this->translate('error') . '</label>';
        $output .= ' <input type="checkbox" id="SET_testdox" ' . $testdoxState .
            ' /><label for="SET_testdox">' . $this->translate('show_as_human_readable') . '</label>';
        $output .= ' <input type="checkbox" id="SET_incomplete" ' . $incompleteState .
            ' /><label for="SET_incomplete">' . $this->translate('incomplete') . '</label>';
        $output .= ' <input type="checkbox" id="SET_showTime" ' . $showTime .
            '/><label for="SET_showTime">' . $this->translate('show_time') . '</label>';

        $codecoverageDisable = '';
        $codecoverageForLabelWhenDisabled = '';
        if (!extension_loaded('xdebug')) {
            $codecoverageDisable = ' disabled="disabled"';
            $codecoverageForLabelWhenDisabled = ' title="' . $this->translate('code_coverage_requires_xdebug') . '"';
        }
        $codeCoverageState = $this->userSettingsService->getAsBoolean('codeCoverage') ? 'checked="checked"' : '';
        $output .= ' <input type="checkbox" id="SET_codeCoverage" ' . $codecoverageDisable . ' ' . $codeCoverageState .
            ' /><label for="SET_codeCoverage"' . $codecoverageForLabelWhenDisabled .
            '>' . $this->translate('collect_code_coverage_data') . '</label>';
        $runSeleniumTests = $this->userSettingsService->getAsBoolean('runSeleniumTests') ? 'checked="checked"' : '';
        $output .= ' <input type="checkbox" id="SET_runSeleniumTests" ' . $runSeleniumTests
            . '/><label for="SET_runSeleniumTests">' . $this->translate('run_selenium_tests') . '</label>';
        $output .= '</div>';
        $output .= '</form>';

        return $output;
    }
protected function createCheckboxes()
    {
        $output =
            '<form action="' . htmlspecialchars(BackendUtility::getModuleUrl('tools_txphpunitbeM1'))
            . '" method="post">';
        $output .= '<div class="phpunit-controls">';
        $failureState = $this->userSettingsService->getAsBoolean('failure') ? 'checked="checked"' : '';
        $errorState = $this->userSettingsService->getAsBoolean('error') ? 'checked="checked"' : '';
        $skippedState = $this->userSettingsService->getAsBoolean('skipped') ? 'checked="checked"' : '';
        $successState = $this->userSettingsService->getAsBoolean('success') ? 'checked="checked"' : '';
        $incompleteState = $this->userSettingsService->getAsBoolean('incomplete') ? 'checked="checked"' : '';
        $showTime = $this->userSettingsService->getAsBoolean('showTime') ? 'checked="checked"' : '';
        $testdoxState = $this->userSettingsService->getAsBoolean('testdox') ? 'checked="checked"' : '';
        $output .= '<input type="checkbox" id="SET_success" ' . $successState . ' /><label for="SET_success">'
            . $this->translate('success') . '</label>';
        $output .= ' <input type="checkbox" id="SET_failure" ' . $failureState . ' /><label for="SET_failure">'
            . $this->translate('failure') . '</label>';
        $output .= ' <input type="checkbox" id="SET_skipped" ' . $skippedState . ' /><label for="SET_skipped">'
            . $this->translate('skipped') . '</label>';
        $output .= ' <input type="checkbox" id="SET_error" ' . $errorState . ' /><label for="SET_error">'
            . $this->translate('error') . '</label>';
        $output .= ' <input type="checkbox" id="SET_testdox" ' . $testdoxState .
            ' /><label for="SET_testdox">' . $this->translate('show_as_human_readable') . '</label>';
        $output .= ' <input type="checkbox" id="SET_incomplete" ' . $incompleteState .
            ' /><label for="SET_incomplete">' . $this->translate('incomplete') . '</label>';
        $output .= ' <input type="checkbox" id="SET_showTime" ' . $showTime .
            '/><label for="SET_showTime">' . $this->translate('show_time') . '</label>';

        $codecoverageDisable = '';
        $codecoverageForLabelWhenDisabled = '';
        if (!extension_loaded('xdebug')) {
            $codecoverageDisable = ' disabled="disabled"';
            $codecoverageForLabelWhenDisabled = ' title="' . $this->translate('code_coverage_requires_xdebug') . '"';
        }
        $codeCoverageState = $this->userSettingsService->getAsBoolean('codeCoverage') ? 'checked="checked"' : '';
        $output .= ' <input type="checkbox" id="SET_codeCoverage" ' . $codecoverageDisable . ' ' . $codeCoverageState .
            ' /><label for="SET_codeCoverage"' . $codecoverageForLabelWhenDisabled .
            '>' . $this->translate('collect_code_coverage_data') . '</label>';
        $runSeleniumTests = $this->userSettingsService->getAsBoolean('runSeleniumTests') ? 'checked="checked"' : '';
        $output .= ' <input type="checkbox" id="SET_runSeleniumTests" ' . $runSeleniumTests
            . '/><label for="SET_runSeleniumTests">' . $this->translate('run_selenium_tests') . '</label>';
        $output .= '</div>';
        $output .= '</form>';

        return $output;
    }
protected function createCheckboxes ( ) { $ output = '<form action="' . htmlspecialchars ( BackendUtility :: getModuleUrl ( 'tools_txphpunitbeM1' ) ) . '" method="post">' ; $ output .= '<div class="phpunit-controls">' ; $ failureState = $ this -> userSettingsService -> getAsBoolean ( 'failure' ) ? 'checked="checked"' : '' ; $ errorState = $ this -> userSettingsService -> getAsBoolean ( 'error' ) ? 'checked="checked"' : '' ; $ skippedState = $ this -> userSettingsService -> getAsBoolean ( 'skipped' ) ? 'checked="checked"' : '' ; $ successState = $ this -> userSettingsService -> getAsBoolean ( 'success' ) ? 'checked="checked"' : '' ; $ incompleteState = $ this -> userSettingsService -> getAsBoolean ( 'incomplete' ) ? 'checked="checked"' : '' ; $ showTime = $ this -> userSettingsService -> getAsBoolean ( 'showTime' ) ? 'checked="checked"' : '' ; $ testdoxState = $ this -> userSettingsService -> getAsBoolean ( 'testdox' ) ? 'checked="checked"' : '' ; $ output .= '<input type="checkbox" id="SET_success" ' . $ successState . ' /><label for="SET_success">' . $ this -> translate ( 'success' ) . '</label>' ; $ output .= ' <input type="checkbox" id="SET_failure" ' . $ failureState . ' /><label for="SET_failure">' . $ this -> translate ( 'failure' ) . '</label>' ; $ output .= ' <input type="checkbox" id="SET_skipped" ' . $ skippedState . ' /><label for="SET_skipped">' . $ this -> translate ( 'skipped' ) . '</label>' ; $ output .= ' <input type="checkbox" id="SET_error" ' . $ errorState . ' /><label for="SET_error">' . $ this -> translate ( 'error' ) . '</label>' ; $ output .= ' <input type="checkbox" id="SET_testdox" ' . $ testdoxState . ' /><label for="SET_testdox">' . $ this -> translate ( 'show_as_human_readable' ) . '</label>' ; $ output .= ' <input type="checkbox" id="SET_incomplete" ' . $ incompleteState . ' /><label for="SET_incomplete">' . $ this -> translate ( 'incomplete' ) . '</label>' ; $ output .= ' <input type="checkbox" id="SET_showTime" ' . $ showTime . '/><label for="SET_showTime">' . $ this -> translate ( 'show_time' ) . '</label>' ; $ codecoverageDisable = '' ; $ codecoverageForLabelWhenDisabled = '' ; if ( ! extension_loaded ( 'xdebug' ) ) { $ codecoverageDisable = ' disabled="disabled"' ; $ codecoverageForLabelWhenDisabled = ' title="' . $ this -> translate ( 'code_coverage_requires_xdebug' ) . '"' ; } $ codeCoverageState = $ this -> userSettingsService -> getAsBoolean ( 'codeCoverage' ) ? 'checked="checked"' : '' ; $ output .= ' <input type="checkbox" id="SET_codeCoverage" ' . $ codecoverageDisable . ' ' . $ codeCoverageState . ' /><label for="SET_codeCoverage"' . $ codecoverageForLabelWhenDisabled . '>' . $ this -> translate ( 'collect_code_coverage_data' ) . '</label>' ; $ runSeleniumTests = $ this -> userSettingsService -> getAsBoolean ( 'runSeleniumTests' ) ? 'checked="checked"' : '' ; $ output .= ' <input type="checkbox" id="SET_runSeleniumTests" ' . $ runSeleniumTests . '/><label for="SET_runSeleniumTests">' . $ this -> translate ( 'run_selenium_tests' ) . '</label>' ; $ output .= '</div>' ; $ output .= '</form>' ; return $ output ; }
Renders the checkboxes for hiding or showing various test results.

@return string
HTML code with checkboxes and a surrounding form
Renders the checkboxes for hiding or showing various test results .