original_string: public function use_svg_icons() {
          global $CFG;
          if ($this->usesvg === null) {
  
              if (!isset($CFG->svgicons)) {
                  $this->usesvg = core_useragent::supports_svg();
              } else {
                  // Force them on/off depending upon the setting.
                  $this->usesvg = (bool)$CFG->svgicons;
              }
          }
          return $this->usesvg;
      }
code: public function use_svg_icons() {
          global $CFG;
          if ($this->usesvg === null) {
  
              if (!isset($CFG->svgicons)) {
                  $this->usesvg = core_useragent::supports_svg();
              } else {
                  // Force them on/off depending upon the setting.
                  $this->usesvg = (bool)$CFG->svgicons;
              }
          }
          return $this->usesvg;
      }
code_tokens: public function use_svg_icons ( ) { global $ CFG ; if ( $ this -> usesvg === null ) { if ( ! isset ( $ CFG -> svgicons ) ) { $ this -> usesvg = core_useragent :: supports_svg ( ) ; } else { // Force them on/off depending upon the setting. $ this -> usesvg = ( bool ) $ CFG -> svgicons ; } } return $ this -> usesvg ; }
docstring: Return true if we should look for SVG images as well.
  
  @return bool
docstring_tokens: Return true if we should look for SVG images as well .