MvcLite\View\Helper\InputElementAbstract::getDefaultAttribs
Gets the default attributes.
Signature
public function getDefaultAttribs(string
$name,
$type )
Parameters
$name
—
string
- The name of the element.
$type
—
Returns
- string
- The resulting array of attributes.
Test Coverage
Information
- Coverage: 7/7 Lines (100%)
- Tests: 5
- Passed: 5 (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\ViewHelperInputTextTest::testRender with data set #0
- [ PASSED ] — MvcLite\ViewHelperInputTextareaTest::testRender with data set #0