Zend\View\Renderer\JsonRenderer::recurseModel
Retrieve values from a model and recurse its children to build a data structure
Signature
protected function recurseModel(ModelInterface
$model,
[bool
$mergeWithVariables = true] )
Parameters
$model
— Zend\View\Model\ModelInterface
$mergeWithVariables
— object- Whether or not to merge children with
the variables of the $model
Returns
- array
Line | Task |
---|---|
218 | please complete if append is true. must change old |