setElementsBelongTo() has been called. If the
form has no specified name, or if
setElementsBelongTo() has not been set, this
flag will be ignored (as there is no array name to which
the elements may belong).
isArray() accessor.
getElementsBelongTo() accessor.
getBelongsTo() accessor.
$subForm =
$this->getCurrentSubForm();" to retrieve the current
sub form for validation, or "$next =
$this->getNextSubForm();" to get the next one to
display.
getCurrentSubForm() to determine
if any sub forms have been submitted (false return values
indicate none have been displayed or submitted), and
getNextSubForm() to retrieve a form to display. We
can then use the form's prepareSubForm() method to
ensure the form is ready for display.
Here is the information you provided:
// Have to do this construct due to how items are stored in session // namespaces foreach ($this->info as $info): foreach ($info as $form => $data): ?>