original_string: protected function cleanupName($filename)
      {
          $filename = str_replace(array('/', '\\', ':', ' '), '_', $filename);
          // Remove dot if it starts with one
          $filename = trim($filename, '.');
  
          return \MUtil_File::cleanupName($filename);
      }
code: protected function cleanupName($filename)
      {
          $filename = str_replace(array('/', '\\', ':', ' '), '_', $filename);
          // Remove dot if it starts with one
          $filename = trim($filename, '.');
  
          return \MUtil_File::cleanupName($filename);
      }
code_tokens: protected function cleanupName ( $ filename ) { $ filename = str_replace ( array ( '/' , '\\' , ':' , ' ' ) , '_' , $ filename ) ; // Remove dot if it starts with one $ filename = trim ( $ filename , '.' ) ; return \ MUtil_File :: cleanupName ( $ filename ) ; }
docstring: Clean a proposed filename up so it can be used correctly as a filename
  @param  string $filename Proposed filename
  @return string           filtered filename
docstring_tokens: Clean a proposed filename up so it can be used correctly as a filename