function makemeeting_answer_load in Make Meeting Scheduler 7.2
Load an answer
Parameters
$answer_id:
Return value
mixed
File
- ./
makemeeting.module, line 72 - Hooks and field implementations
Code
function makemeeting_answer_load($answer_id) {
$answer = db_select('makemeeting_answers', 'm')
->fields('m')
->condition('answer_id', $answer_id)
->execute()
->fetchAssoc();
$answer['value'] = unserialize($answer['value']);
return $answer ? (object) $answer : FALSE;
}