PHPUnit
PHPUnit TYPO3 extension
 All Classes Namespaces Functions
Public Member Functions | Protected Member Functions | List of all members
Tx_Phpunit_ViewHelpers_ExtensionSelectorViewHelper Class Reference
Inheritance diagram for Tx_Phpunit_ViewHelpers_ExtensionSelectorViewHelper:
Tx_Phpunit_ViewHelpers_AbstractSelectorViewHelper Tx_Phpunit_ViewHelpers_AbstractViewHelper

Public Member Functions

 render ()
 
- Public Member Functions inherited from Tx_Phpunit_ViewHelpers_AbstractSelectorViewHelper
 __destruct ()
 
 injectUserSettingService (Tx_Phpunit_Interface_UserSettingsService $userSettingService)
 
 injectTestFinder ($testFinder)
 
 setAction ($action)
 
 getAction ()
 
- Public Member Functions inherited from Tx_Phpunit_ViewHelpers_AbstractViewHelper
 __destruct ()
 
 injectOutputService (Tx_Phpunit_Service_OutputService $service)
 
 render ()
 

Protected Member Functions

 renderForm ($formContent)
 
 renderHiddenFields ()
 
 renderSubmitButton ($label)
 
 renderSelect ()
 
 isOptionSelected ($option)
 
- Protected Member Functions inherited from Tx_Phpunit_ViewHelpers_AbstractSelectorViewHelper
 createIconStyle ($testableKey)
 
 getOptions ()
 
 renderSelect ()
 
 renderTag ($tagName, $attributes=array(), $content= '')
 

Additional Inherited Members

- Protected Attributes inherited from Tx_Phpunit_ViewHelpers_AbstractSelectorViewHelper
 $userSettingService = NULL
 
 $testFinder = NULL
 
 $action = ''
 

Member Function Documentation

Tx_Phpunit_ViewHelpers_ExtensionSelectorViewHelper::isOptionSelected (   $option)
protected

Checks whether $option is the selected option.

Parameters
string$optionthe option to check, must not be empty
Returns
boolean whether $option is the selected option
Tx_Phpunit_ViewHelpers_ExtensionSelectorViewHelper::render ( )

Renders the content of the view helper and pushes it to the output service.

Returns
void
Tx_Phpunit_ViewHelpers_ExtensionSelectorViewHelper::renderForm (   $formContent)
protected

Renders the form with submit button around some content.

Parameters
string$formContent
Returns
string the final form
Tx_Phpunit_ViewHelpers_ExtensionSelectorViewHelper::renderHiddenFields ( )
protected

Renders some (hidden) fields for the form.

Returns
string the rendered fields, will not be empty
Tx_Phpunit_ViewHelpers_ExtensionSelectorViewHelper::renderSelect ( )
protected

Renders the select box as HTML.

Returns
string the rendered select tag
Tx_Phpunit_ViewHelpers_ExtensionSelectorViewHelper::renderSubmitButton (   $label)
protected

Renders the submit button for the form.

Parameters
string$labelthe label for the button, must not be empty
Returns
string the rendered button tag, will not be empty

The documentation for this class was generated from the following file: