private function buildSqlStringOfAllPtGeocachesId() { $this->getGeocaches(); $geocachesIdArray = $this->geocaches->getGeocachesIdArray(); $geocachesStr = ''; foreach ($geocachesIdArray as $geocacheId) { $geocachesStr .= $geocacheId . ','; } return rtrim($geocachesStr, ','); }