protected function getOptions()
    {
        $options = [];

        $allExtensionOption = [
            'class' => 'alltests',
            'value' => \Tx_Phpunit_Testable::ALL_EXTENSIONS,
        ];
        if ($this->isOptionSelected(\Tx_Phpunit_Testable::ALL_EXTENSIONS)) {
            $allExtensionOption['selected'] = 'selected';
        }
        $options[] = $allExtensionOption;

        /** @var \Tx_Phpunit_Testable $testable */
        foreach ($this->testFinder->getTestablesForEverything() as $testable) {
            $extensionOption = [
                'style' => $this->createIconStyle($testable->getKey()),
                'value' => $testable->getKey(),
            ];
            if ($this->isOptionSelected($testable->getKey())) {
                $extensionOption['selected'] = 'selected';
            }

            $options[] = $extensionOption;
        }

        return $options;
    }
protected function getOptions()
    {
        $options = [];

        $allExtensionOption = [
            'class' => 'alltests',
            'value' => \Tx_Phpunit_Testable::ALL_EXTENSIONS,
        ];
        if ($this->isOptionSelected(\Tx_Phpunit_Testable::ALL_EXTENSIONS)) {
            $allExtensionOption['selected'] = 'selected';
        }
        $options[] = $allExtensionOption;

        /** @var \Tx_Phpunit_Testable $testable */
        foreach ($this->testFinder->getTestablesForEverything() as $testable) {
            $extensionOption = [
                'style' => $this->createIconStyle($testable->getKey()),
                'value' => $testable->getKey(),
            ];
            if ($this->isOptionSelected($testable->getKey())) {
                $extensionOption['selected'] = 'selected';
            }

            $options[] = $extensionOption;
        }

        return $options;
    }
protected function getOptions ( ) { $ options = [ ] ; $ allExtensionOption = [ 'class' => 'alltests' , 'value' => \ Tx_Phpunit_Testable :: ALL_EXTENSIONS , ] ; if ( $ this -> isOptionSelected ( \ Tx_Phpunit_Testable :: ALL_EXTENSIONS ) ) { $ allExtensionOption [ 'selected' ] = 'selected' ; } $ options [ ] = $ allExtensionOption ; /** @var \Tx_Phpunit_Testable $testable */ foreach ( $ this -> testFinder -> getTestablesForEverything ( ) as $ testable ) { $ extensionOption = [ 'style' => $ this -> createIconStyle ( $ testable -> getKey ( ) ) , 'value' => $ testable -> getKey ( ) , ] ; if ( $ this -> isOptionSelected ( $ testable -> getKey ( ) ) ) { $ extensionOption [ 'selected' ] = 'selected' ; } $ options [ ] = $ extensionOption ; } return $ options ; }
Gets all options rendered as an array

@return array[] all options, will not be empty
Gets all options rendered as an array