/** Gets the impediment dates in readable format */
 function impediment_dates_by_id($impediment_id)
 {
     $CI =& get_instance();
     $impediment = $CI->impedimentModel->get_impediment_by_id($impediment_id);
     return impediment_dates($impediment);
 }
 /** Returns the activation link for a participant */
 function participant_impediment_link($participant_id)
 {
     $CI =& get_instance();
     $imp = $CI->impedimentModel->next_impediment_by_participant($participant_id);
     return isset($imp) ? anchor('impediment/participant/' . $participant_id, impediment_dates($imp)) : '-';
 }