function pollim_load in Poll Improved 7
Fetch a pollim object. Make sure that the wildcard you choose in the pollim entity definition fits the function name here.
Parameters
$pollim_id: Integer specifying the pollim id.
$reset: A boolean indicating that the internal cache should be reset.
Return value
A fully-loaded $pollim object or FALSE if it cannot be loaded.
See also
1 call to pollim_load()
- MigrateDestinationPollim::import in ./
pollim.migrate.inc - Import a single pollim.
File
- ./
pollim.module, line 228 - Module for the Pollim Entity - a starting point to create your own Entity and associated administration interface
Code
function pollim_load($pollim_id, $reset = FALSE) {
$pollims = pollim_load_multiple(array(
$pollim_id,
), array(), $reset);
return reset($pollims);
}