function commerce_cardonfile_load_multiple in Commerce Card on File 7.2
Loads multiple cards by ID or based on a set of matching conditions.
Parameters
$card_ids: An array of card IDs.
$conditions: An array of conditions on the {commerce_cardonfile} table in the form 'field' => $value.
$reset: Whether to reset the internal cache.
Return value
An array of card entities indexed by card_id.
See also
2 calls to commerce_cardonfile_load_multiple()
- CommerceCardOnFile::save in includes/
commerce_cardonfile.entity.inc - Overrides Entity::save().
- commerce_cardonfile_load_multiple_by_uid in ./
commerce_cardonfile.module - Loads multiple cards belonging to a specific user.
File
- ./
commerce_cardonfile.module, line 849 - Supports card on file functionality for credit card payment methods by associating card data reference IDs from payment gateways with user accounts.
Code
function commerce_cardonfile_load_multiple($card_ids = array(), $conditions = array(), $reset = FALSE) {
return entity_load('commerce_cardonfile', $card_ids, $conditions, $reset);
}