function access_scheme_load_multiple in Access Control Kit 7
Loads multiple access schemes by ID.
Parameters
array $sids: An array of scheme IDs, or FALSE to load all schemes.
bool $reset: (optional) Whether to reset the internal cache. Defaults to FALSE.
Return value
array An array of access schemes indexed by their IDs. When no results are found, returns an empty array.
See also
13 calls to access_scheme_load_multiple()
- AccessSchemeFunctionTest::testSchemeCRUD in ./
access.test - Test basic create, read, update, and delete functions.
- AccessSchemeFunctionTest::testSchemeStaticReset in ./
access.test - Ensure that the access scheme static reset works correctly.
- AccessSchemeInterfaceTest::testSchemeOverviewEmpty in ./
access.test - Test the scheme overview with no schemes.
- access_admin_grants_filters in ./
access_grants.admin.inc - Lists access grant administration filters that can be applied.
- access_grant_add_list in ./
access_grants.admin.inc - Menu page callback; the add access grant list page.
File
- ./
access.module, line 396 - The access control kit module.
Code
function access_scheme_load_multiple($sids = FALSE, $reset = FALSE) {
return entity_load('access_scheme', $sids, array(), $reset);
}