original_string: public function get_file_info($component, $filearea, $itemid, $filepath, $filename) {
          if (empty($component)) {
              return $this;
          }
  
          $methodname = "get_area_{$component}_{$filearea}";
  
          if (method_exists($this, $methodname)) {
              return $this->$methodname($itemid, $filepath, $filename);
          }
  
          return null;
      }
code: public function get_file_info($component, $filearea, $itemid, $filepath, $filename) {
          if (empty($component)) {
              return $this;
          }
  
          $methodname = "get_area_{$component}_{$filearea}";
  
          if (method_exists($this, $methodname)) {
              return $this->$methodname($itemid, $filepath, $filename);
          }
  
          return null;
      }
code_tokens: public function get_file_info ( $ component , $ filearea , $ itemid , $ filepath , $ filename ) { if ( empty ( $ component ) ) { return $ this ; } $ methodname = "get_area_{$component}_{$filearea}" ; if ( method_exists ( $ this , $ methodname ) ) { return $ this -> $ methodname ( $ itemid , $ filepath , $ filename ) ; } return null ; }
docstring: Return information about this specific part of context level
  
  @param string $component component
  @param string $filearea file area
  @param int $itemid item ID
  @param string $filepath file path
  @param string $filename file name
  @return file_info|null file_info instance or null if not found or access not allowed
docstring_tokens: Return information about this specific part of context level