original_string: public function message_code_info($msgcode, $addinfo) {
  
          $stringman = get_string_manager();
  
          if ($addinfo !== null and $stringman->string_exists('validationmsg_'.$msgcode.'_info', 'core_plugin')) {
              return get_string('validationmsg_'.$msgcode.'_info', 'core_plugin', $addinfo);
          }
  
          return '';
      }
code: public function message_code_info($msgcode, $addinfo) {
  
          $stringman = get_string_manager();
  
          if ($addinfo !== null and $stringman->string_exists('validationmsg_'.$msgcode.'_info', 'core_plugin')) {
              return get_string('validationmsg_'.$msgcode.'_info', 'core_plugin', $addinfo);
          }
  
          return '';
      }
code_tokens: public function message_code_info ( $ msgcode , $ addinfo ) { $ stringman = get_string_manager ( ) ; if ( $ addinfo !== null and $ stringman -> string_exists ( 'validationmsg_' . $ msgcode . '_info' , 'core_plugin' ) ) { return get_string ( 'validationmsg_' . $ msgcode . '_info' , 'core_plugin' , $ addinfo ) ; } return '' ; }
docstring: Localizes the message additional info if it exists.
  
  @param string $msgcode
  @param array|string|null $addinfo value for the $a placeholder in the string
  @return string
docstring_tokens: Localizes the message additional info if it exists .