MvcLite\View\HelperAbstract::getHtmlAttribs
Method to return a string of key=value pairs.
Signature
protected function getHtmlAttribs([array
$attribs = ] )
Parameters
$attribs
—
array
- An array of attributes.
Returns
- string
- The resulting string of attributes.
Test Coverage
Information
- Coverage: 9/9 Lines (100%)
- Tests: 7
- Passed: 7 (100%)
Tests
- [ PASSED ] — MvcLite\ViewHelperInputCheckboxTest::testRender with data set #0
- [ PASSED ] — MvcLite\ViewHelperInputPasswordTest::testRender with data set #0
- [ PASSED ] — MvcLite\ViewHelperInputSelectTest::testRender with data set #0
- [ PASSED ] — MvcLite\ViewHelperInputSubmitTest::testRender with data set "empty atttribs array test"
- [ PASSED ] — MvcLite\ViewHelperInputTextTest::testRender with data set #0
- [ PASSED ] — MvcLite\ViewHelperInputTextareaTest::testRender with data set #0
- [ PASSED ] — MvcLite\ViewHelperAbstractTest::testGetHtmlAttribs with data set #0