function insertEntry($request, $newRowId) { $possibleResponsesProcessed = (array) $this->getData('possibleResponsesProcessed'); foreach ($newRowId['possibleResponse'] as $key => $value) { $possibleResponsesProcessed[$key][] = $value; } $this->setData('possibleResponsesProcessed', $possibleResponsesProcessed); return true; }