extra info on picture selection

This commit is contained in:
2019-02-03 12:32:42 +01:00
parent 03edff8baa
commit efbb31c1d0

View File

@@ -278,6 +278,13 @@ class Spot extends Main
return $asAllFeedMessages; 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) private function getPictures($sTimeRefField)
{ {
$asPics = $this->oPicture->getPicsInfo(); $asPics = $this->oPicture->getPicsInfo();