You are here

function oa_files_upload_multi_load in Open Atrium Files 7.2

Load callback for %media_multi placeholder in menu paths.

Parameters

string $fids: Separated by space (e.g., "3 6 12 99"). This often appears as "+" within URLs (e.g., "3+6+12+99"), but sometimes changes these to spaces.

Return value

array An array of corresponding file entities.

File

./oa_files.module, line 101

Code

function oa_files_upload_multi_load($fids) {
  return file_load_multiple(explode(' ', str_replace('+', ' ', $fids)));
}