MvcLite\View\Helper\InputSelect::buildOptions
method to take an array and turn it into a string of li elements
Signature
protected function buildOptions([array
$options = ] )
Parameters
$options
—
array
Returns
- string
Test Coverage
Information
- Coverage: 9/9 Lines (100%)
- Tests: 3
- Passed: 3 (100%)
Tests
- [ PASSED ] — MvcLite\ViewHelperInputSelectTest::testRender with data set #0
- [ PASSED ] — MvcLite\ViewHelperInputSelectTest::testBuildOptions with data set "empty options"
- [ PASSED ] — MvcLite\ViewHelperInputSelectTest::testBuildOptions with data set "single option"