From efbb31c1d0f912dc7b94c87f6b45fb279486ede8 Mon Sep 17 00:00:00 2001 From: franzz Date: Sun, 3 Feb 2019 12:32:42 +0100 Subject: [PATCH] extra info on picture selection --- inc/spot.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/inc/spot.php b/inc/spot.php index 375a8a3..c39d877 100755 --- a/inc/spot.php +++ b/inc/spot.php @@ -278,6 +278,13 @@ class Spot extends Main return $asAllFeedMessages; } + /** + * Get valid pictures based on $sTimeRefField: + * - taken_on: Date/time on which the picture was taken (local time) + * - added_on: Date/time on which the picture was uploaded (site's time: Settings::TIMEZONE) + * @param String $sTimeRefField Field to calculate relative times + * @return Array Pictures info + */ private function getPictures($sTimeRefField) { $asPics = $this->oPicture->getPicsInfo();