original_string: public static function get_handler($classname) {
          global $DB;
  
          if (strpos($classname, '\\') !== 0) {
              $classname = '\\' . $classname;
          }
  
          $record = $DB->get_record('messageinbound_handlers', array('classname' => $classname), '*', IGNORE_MISSING);
          if (!$record) {
              return false;
          }
          return self::handler_from_record($record);
      }
code: public static function get_handler($classname) {
          global $DB;
  
          if (strpos($classname, '\\') !== 0) {
              $classname = '\\' . $classname;
          }
  
          $record = $DB->get_record('messageinbound_handlers', array('classname' => $classname), '*', IGNORE_MISSING);
          if (!$record) {
              return false;
          }
          return self::handler_from_record($record);
      }
code_tokens: public static function get_handler ( $ classname ) { global $ DB ; if ( strpos ( $ classname , '\\' ) !== 0 ) { $ classname = '\\' . $ classname ; } $ record = $ DB -> get_record ( 'messageinbound_handlers' , array ( 'classname' => $ classname ) , '*' , IGNORE_MISSING ) ; if ( ! $ record ) { return false ; } return self :: handler_from_record ( $ record ) ; }
docstring: Load the Inbound Message handler details for a given classname.
  
  @param string $classname The name of the class for the handler.
  @return \core\message\inbound\handler or false
docstring_tokens: Load the Inbound Message handler details for a given classname .