original_string: public function output_html($data, $query='') {
          global $OUTPUT;
          $html = parent::output_html($data, $query);
  
          if ((string)$data === $this->yes) {
              $notifications = tool_mobile\api::get_potential_config_issues(); // Safe to call, plugin available if we reach here.
              foreach ($notifications as $notification) {
                  $message = get_string($notification[0], $notification[1]);
                  $html .= $OUTPUT->notification($message, \core\output\notification::NOTIFY_WARNING);
              }
          }
  
          return $html;
      }
code: public function output_html($data, $query='') {
          global $OUTPUT;
          $html = parent::output_html($data, $query);
  
          if ((string)$data === $this->yes) {
              $notifications = tool_mobile\api::get_potential_config_issues(); // Safe to call, plugin available if we reach here.
              foreach ($notifications as $notification) {
                  $message = get_string($notification[0], $notification[1]);
                  $html .= $OUTPUT->notification($message, \core\output\notification::NOTIFY_WARNING);
              }
          }
  
          return $html;
      }
code_tokens: public function output_html ( $ data , $ query = '' ) { global $ OUTPUT ; $ html = parent :: output_html ( $ data , $ query ) ; if ( ( string ) $ data === $ this -> yes ) { $ notifications = tool_mobile \ api :: get_potential_config_issues ( ) ; // Safe to call, plugin available if we reach here. foreach ( $ notifications as $ notification ) { $ message = get_string ( $ notification [ 0 ] , $ notification [ 1 ] ) ; $ html .= $ OUTPUT -> notification ( $ message , \ core \ output \ notification :: NOTIFY_WARNING ) ; } } return $ html ; }
docstring: Builds XHTML to display the control.
  The main purpose of this overloading is to display a warning when https
  is not supported by the server
  @param string $data Unused
  @param string $query
  @return string XHTML
docstring_tokens: Builds XHTML to display the control . The main purpose of this overloading is to display a warning when https is not supported by the server