public static function get_handler_from_id($id) {
        global $DB;

        $record = $DB->get_record('messageinbound_handlers', array('id' => $id), '*', IGNORE_MISSING);
        if (!$record) {
            return false;
        }
        return self::handler_from_record($record);
    }
public static function get_handler_from_id($id) {
        global $DB;

        $record = $DB->get_record('messageinbound_handlers', array('id' => $id), '*', IGNORE_MISSING);
        if (!$record) {
            return false;
        }
        return self::handler_from_record($record);
    }
public static function get_handler_from_id ( $ id ) { global $ DB ; $ record = $ DB -> get_record ( 'messageinbound_handlers' , array ( 'id' => $ id ) , '*' , IGNORE_MISSING ) ; if ( ! $ record ) { return false ; } return self :: handler_from_record ( $ record ) ; }
Load the Inbound Message handler with a given ID

@param int $id
@return \core\message\inbound\handler or false
Load the Inbound Message handler with a given ID