MvcLite\View\HelperAbstract::isValidAttribute
Checks an attribute name to see if it's valid.
Signature
protected function isValidAttribute(string
$name )
Parameters
$name
—
string
- The name of the attribute.
Returns
- boolean
- True if the attribute is ok, false if not.
Test Coverage
Information
- Coverage: 1/1 Lines (100%)
- Tests: 2
- Passed: 2 (100%)
Tests
- [ PASSED ] — MvcLite\ViewHelperInputPasswordTest::testRender with data set #0
- [ PASSED ] — MvcLite\ViewHelperInputSubmitTest::testRender with data set "empty atttribs array test"