MvcLite\View\Helper\Form::render
renders a form from a model
Signature
public function render(
$fields,
[array
$attribs = ] )
Parameters
$fields
—
$attribs
—
array
Test Coverage
Information
- Coverage: 19/19 Lines (100%)
- Tests: 4
- Passed: 4 (100%)
Tests
- [ PASSED ] — MvcLite\FormTest::testRender with data set "test with groups"
- [ PASSED ] — MvcLite\FormTest::testRender with data set "test with 2 elements"
- [ PASSED ] — MvcLite\FormTest::testRender with data set "test with 3 elements"
- [ PASSED ] — MvcLite\FormTest::testRender with data set "test with attributes"