You are here

function scald_atom_load_multiple in Scald: Media Management made easy 7

Load multiple Scald atoms.

@codingStandardsIgnoreStart

Parameters

array $sids: An array of Scald ID's being loaded.

Return value

mixed An array of populated Scald Atom objects keyed by the sid. Value might be FALSE if SID is invalid or if $user is not permitted to fetch the Scald Atom

6 calls to scald_atom_load_multiple()
atom_reference_field_diff_view_prepare in modules/fields/atom_reference/atom_reference.module
Diff field callback for preloading the scald atom entities.
mee_filter_process in modules/fields/mee/mee.module
Process callback for the 'mee_scald_widgets' filter.
scald_atom_delete_multiple in ./scald.module
Delete multiple Scald atoms.
scald_atom_fallback_load in ./scald.module
Load a Scald Atom and provide a fallback if that fails.
scald_atom_fetch_atoms in includes/scald.pages.inc
Fetch atoms and return in JSON format.

... See full list

File

./scald.module, line 489
The Scald Core, which handles all Scald Registries and dispatch.

Code

function scald_atom_load_multiple($sids) {

  // @codingStandardsIgnoreEnd
  $atoms = scald_fetch_multiple($sids);
  return $atoms;
}