/** * Retrieve all object ids in the current folder. * * @return array The object ids. */ public function getObjectIds() { $result = $this->_data->getObjectIds(); if (count($result) < 20) { $ids = '[' . join(', ', $result) . ']'; } else { $ids = '[too many to list]'; } $this->_logger->debug(sprintf('%s has %s objects %s.', $this->_data->getPath(), count($result), $ids)); return $result; }