/** * Find multiple files by their IDs or UUIDs (backwards compatibility) * * @param array $arrIds An array of IDs or UUIDs * @param array $arrOptions An optional options array * * @return \Model\Collection|null A collection of models or null if there are no files */ public static function findMultipleByIds($arrIds, array $arrOptions = array()) { if (!is_array($arrIds) || empty($arrIds)) { return null; } if (\Validator::isUuid(current($arrIds))) { return static::findMultipleByUuids($arrIds, $arrOptions); } return parent::findMultipleByIds($arrIds, $arrOptions); }