public function getLocations()
{
if ($this->locationBoxes == NULL) {
return NULL;
}
$locationBoxes = $this->locationBoxes;
// Copy array
$ret = array();
while (count($locationBoxes) >= 4) {
$ret[] = array_splice($locationBoxes, 0, 4);
// Append to ret array in blocks of 4
}
return $ret;
}