original_string: protected function moodle_available_update_info(\core\update\info $updateinfo) {
  
          $boxclasses = 'moodleupdateinfo';
          $info = array();
  
          if (isset($updateinfo->release)) {
              $info[] = html_writer::tag('span', get_string('updateavailable_release', 'core_admin', $updateinfo->release),
                  array('class' => 'info release'));
          }
  
          if (isset($updateinfo->version)) {
              $info[] = html_writer::tag('span', get_string('updateavailable_version', 'core_admin', $updateinfo->version),
                  array('class' => 'info version'));
          }
  
          if (isset($updateinfo->maturity)) {
              $info[] = html_writer::tag('span', get_string('maturity'.$updateinfo->maturity, 'core_admin'),
                  array('class' => 'info maturity'));
              $boxclasses .= ' maturity'.$updateinfo->maturity;
          }
  
          if (isset($updateinfo->download)) {
              $info[] = html_writer::link($updateinfo->download, get_string('download'), array('class' => 'info download'));
          }
  
          if (isset($updateinfo->url)) {
              $info[] = html_writer::link($updateinfo->url, get_string('updateavailable_moreinfo', 'core_plugin'),
                  array('class' => 'info more'));
          }
  
          $box  = $this->output->box_start($boxclasses);
          $box .= $this->output->box(implode(html_writer::tag('span', ' ', array('class' => 'separator')), $info), '');
          $box .= $this->output->box_end();
  
          return $box;
      }
code: protected function moodle_available_update_info(\core\update\info $updateinfo) {
  
          $boxclasses = 'moodleupdateinfo';
          $info = array();
  
          if (isset($updateinfo->release)) {
              $info[] = html_writer::tag('span', get_string('updateavailable_release', 'core_admin', $updateinfo->release),
                  array('class' => 'info release'));
          }
  
          if (isset($updateinfo->version)) {
              $info[] = html_writer::tag('span', get_string('updateavailable_version', 'core_admin', $updateinfo->version),
                  array('class' => 'info version'));
          }
  
          if (isset($updateinfo->maturity)) {
              $info[] = html_writer::tag('span', get_string('maturity'.$updateinfo->maturity, 'core_admin'),
                  array('class' => 'info maturity'));
              $boxclasses .= ' maturity'.$updateinfo->maturity;
          }
  
          if (isset($updateinfo->download)) {
              $info[] = html_writer::link($updateinfo->download, get_string('download'), array('class' => 'info download'));
          }
  
          if (isset($updateinfo->url)) {
              $info[] = html_writer::link($updateinfo->url, get_string('updateavailable_moreinfo', 'core_plugin'),
                  array('class' => 'info more'));
          }
  
          $box  = $this->output->box_start($boxclasses);
          $box .= $this->output->box(implode(html_writer::tag('span', ' ', array('class' => 'separator')), $info), '');
          $box .= $this->output->box_end();
  
          return $box;
      }
code_tokens: protected function moodle_available_update_info ( \ core \ update \ info $ updateinfo ) { $ boxclasses = 'moodleupdateinfo' ; $ info = array ( ) ; if ( isset ( $ updateinfo -> release ) ) { $ info [ ] = html_writer :: tag ( 'span' , get_string ( 'updateavailable_release' , 'core_admin' , $ updateinfo -> release ) , array ( 'class' => 'info release' ) ) ; } if ( isset ( $ updateinfo -> version ) ) { $ info [ ] = html_writer :: tag ( 'span' , get_string ( 'updateavailable_version' , 'core_admin' , $ updateinfo -> version ) , array ( 'class' => 'info version' ) ) ; } if ( isset ( $ updateinfo -> maturity ) ) { $ info [ ] = html_writer :: tag ( 'span' , get_string ( 'maturity' . $ updateinfo -> maturity , 'core_admin' ) , array ( 'class' => 'info maturity' ) ) ; $ boxclasses .= ' maturity' . $ updateinfo -> maturity ; } if ( isset ( $ updateinfo -> download ) ) { $ info [ ] = html_writer :: link ( $ updateinfo -> download , get_string ( 'download' ) , array ( 'class' => 'info download' ) ) ; } if ( isset ( $ updateinfo -> url ) ) { $ info [ ] = html_writer :: link ( $ updateinfo -> url , get_string ( 'updateavailable_moreinfo' , 'core_plugin' ) , array ( 'class' => 'info more' ) ) ; } $ box = $ this -> output -> box_start ( $ boxclasses ) ; $ box .= $ this -> output -> box ( implode ( html_writer :: tag ( 'span' , ' ' , array ( 'class' => 'separator' ) ) , $ info ) , '' ) ; $ box .= $ this -> output -> box_end ( ) ; return $ box ; }
docstring: Helper method to render the information about the available Moodle update
  
  @param \core\update\info $updateinfo information about the available Moodle core update
docstring_tokens: Helper method to render the information about the available Moodle update