FluidTYPO3\Vhs\ViewHelpers\Resource\Record\FalViewHelper::getFileReferences PHP Method

getFileReferences() protected method

Fetch a fileReference from the file repository
protected getFileReferences ( string $table, string $field, integer $uid ) : array
$table string name of the table to get the file reference for
$field string name of the field referencing a file
$uid integer uid of the related record
return array
    protected function getFileReferences($table, $field, $uid)
    {
        $fileObjects = $this->fileRepository->findByRelation($table, $field, $uid);
        return $fileObjects;
    }