extra info on picture selection

This commit is contained in:
2019-02-03 12:32:42 +01:00
parent 3c4bafec64
commit 2b915e9b87

View File

@@ -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();