Skip to content

Instantly share code, notes, and snippets.

@adrexia
Created July 6, 2014 04:58
Show Gist options
  • Save adrexia/c0377c79b3468e5be52f to your computer and use it in GitHub Desktop.
Save adrexia/c0377c79b3468e5be52f to your computer and use it in GitHub Desktop.
$result = new ArrayList();
foreach($dataList as $dataListItem) {
$result->push(new ArrayData(array(
'Title' => $Title,
'Othervalue' => $something
)));
}
return $result;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment