function commerce_file_license_load_multiple in Commerce File 7
Load multiple commerce_file_licenses based on certain conditions.
Parameters
$ids: An array of entity IDs.
Return value
An array of entity objects, indexed by id.
4 calls to commerce_file_license_load_multiple()
- commerce_file_license_load in includes/
commerce_file.entities.inc - Load a single commerce_file_license
- commerce_file_license_load_by_property in includes/
commerce_file.entities.inc - Return all licenses for specified files
- commerce_file_license_user_allowed_licenses in includes/
commerce_file.entities.inc - Load all 'allowed' licenses for given account
- commerce_file_license_user_licenses in includes/
commerce_file.entities.inc - Load all licenses for given account
File
- includes/
commerce_file.entities.inc, line 146 - Handles file licenses and file license logs
Code
function commerce_file_license_load_multiple($ids = array(), $conditions = array(), $reset = FALSE) {
if (empty($ids) && empty($conditions)) {
return array();
}
return entity_load(COMMERCE_FILE_LICENSE_ENTITY_NAME, $ids, $conditions, $reset);
}