getSheets() public method

public getSheets ( boolean $includeEmpty = FALSE ) : Sheet[]
$includeEmpty boolean
return FluidTYPO3\Flux\Form\Container\Sheet[]
 /**
  * @param Form $form
  * @return string
  */
 protected function buildShowItemList(Form $form)
 {
     $parts = array();
     foreach ($form->getSheets(FALSE) as $sheet) {
         array_push($parts, '--div--;' . $sheet->getLabel());
         foreach ($sheet->getFields() as $field) {
             array_push($parts, $field->getName());
         }
     }
     return implode(', ', $parts);
 }